class FAQsModel {
  int? id;
  String? question;
  String? answer;
  int? sequenceNo;
  bool? isActive;
  int? channel;
  bool? isCollapsed;

  FAQsModel({this.id, this.question, this.answer, this.sequenceNo, this.isActive, this.channel, this.isCollapsed});

  FAQsModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    question = json['question'];
    answer = json['answer'];
    sequenceNo = json['sequenceNo'];
    isActive = json['isActive'];
    channel = json['channel'];
    isCollapsed = false;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['id'] = id;
    data['question'] = question;
    data['answer'] = answer;
    data['sequenceNo'] = sequenceNo;
    data['isActive'] = isActive;
    data['channel'] = channel;
    return data;
  }
}
