ProfileModel.fromJson constructor

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

Implementation

factory ProfileModel.fromJson(Map<String, dynamic> json) => ProfileModel(
      data: json["data"] == null ? null : ProfileData.fromJson(json["data"]),
      status: json["status"],
    );