UpdateProfileResponse.fromJson constructor

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

Implementation

factory UpdateProfileResponse.fromJson(Map<String, dynamic> json) => UpdateProfileResponse(
    status: json["status"],
    message: json["message"],
    data:json["data"] == null ||json["data"] == '' || json["data"] ==  "" ? null : Data.fromJson(json["data"]),
);