RegisterModel.fromJson constructor Null safety

RegisterModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RegisterModel.fromJson(Map<String, dynamic> json) => RegisterModel(
      password: json["password"],
      conditionAgreement: json["conditionAgreement"],
      mobileType: json["mobileType"],
      isSubscribed: json["isSubscribed"],
      deviceId: json["deviceID"],
      id: json["id"],
      firstName: json["firstName"],
      lastName: json["lastName"],
      mobile: json["mobile"],
      email: json["email"],
      isActive: json["isActive"],
      zoneId: json["zoneID"],
      gender: json["gender"],
    );