RegisterModel.fromJson constructor

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

Implementation

factory RegisterModel.fromJson(Map<String, dynamic> json) => RegisterModel(
      data: Data.fromJson(json["data"]),
      isNewUser: json["is_new_user"],
      message: json["message"],
    );