///
/// Code generated by jsonToDartModel https://ashamp.github.io/jsonToDartModel/
///
class CommonResponse {
/*
{
  "totalRecord": 0,
  "isSuccess": true,
  "errorMesssage": "string",
  "message": "string"
}
*/

  int? totalRecord;
  bool? isSuccess;
  String? errorMesssage;
  String? message;

  CommonResponse({
    this.totalRecord,
    this.isSuccess,
    this.errorMesssage,
    this.message,
  });
  CommonResponse.fromJson(Map<String, dynamic> json) {
    totalRecord = json["totalRecord"]?.toInt();
    isSuccess = json["isSuccess"];
    errorMesssage = json["errorMesssage"]?.toString();
    message = json["message"]?.toString();
  }
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> json = Map<String, dynamic>();
    json["totalRecord"] = totalRecord;
    json["isSuccess"] = isSuccess;
    json["errorMesssage"] = errorMesssage;
    json["message"] = message;
    return json;
  }
}
