class MarathonGenericModel {
  MarathonGenericModel({
    this.data,
    this.isSuccessful,
    this.message,
    this.statusCode,
    this.errors,
  });

  dynamic data;
  bool? isSuccessful;
  String? message;
  int? statusCode;
  dynamic errors;

  factory MarathonGenericModel.fromJson(Map<String, dynamic> json) => MarathonGenericModel(
        data: json["data"],
        isSuccessful: json["isSuccessful"],
        message: json["message"],
        statusCode: json["statusCode"],
        errors: json["errors"],
      );

  Map<String, dynamic> toJson() => {
        "data": data,
        "isSuccessful": isSuccessful,
        "message": message,
        "statusCode": statusCode,
        "errors": errors,
      };
}
