ProfileUpdate.fromJson constructor

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

Converts a JSON object into a ProfileUpdate instance.

Implementation

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