class SurveyGroupModel {
  String id;
  String subject;
  String code;

  SurveyGroupModel({
    this.id,
    this.subject,
    this.code,
  });

  factory SurveyGroupModel.fromJson(Map<String, dynamic> json) => SurveyGroupModel(
        id: json["SQ_Id"] ?? "",
        subject: json["SQ_Name"] ?? "",
        code: json["SQ_Code"] ?? "",
      );

  Map<String, dynamic> toJson() => {
        "SQ_Id": id,
        "SQ_Name": subject,
        "SQ_Code": code,
      };
}
