ProfileData.fromJson constructor

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

Implementation

factory ProfileData.fromJson(Map<String, dynamic> json) => ProfileData(
      email: json["email"],
      image: json["image"],
      isAdminBlocked: json["isAdminBlocked"],
      isBlocked: json["isBlocked"],
      isBlockedMe: json["isBlockedMe"],
      isGroupAdmin: json["isGroupAdmin"],
      isGroupInOfflineMode: json["isGroupInOfflineMode"],
      isGroupProfile: json["isGroupProfile"],
      isItSavedContact: json["isItSavedContact"],
      isMuted: json["isMuted"],
      isSelected: json["isSelected"],
      jid: json["jid"],
      mobileNumber: json["mobileNumber"],
      name: json["name"],
      nickName: json["nickName"],
      status: json["status"],
    );