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

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

  LoginResponse({
    this.totalRecord,
    this.isSuccess,
    this.errorMesssage,
    this.data,
    this.message,
  });
  LoginResponse.fromJson(Map<String, dynamic> json) {
    totalRecord = json["totalRecord"]?.toInt();
    isSuccess = json["isSuccess"];
    errorMesssage = json["errorMesssage"]?.toString();
    data = json["Data"]?.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["Data"] = data;
    json["message"] = message;
    return json;
  }
}
