toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "contactType": contactType,
      "email": email,
      "groupCreatedTime": groupCreatedTime,
      "image": image,
      "imagePrivacyFlag": imagePrivacyFlag,
      "isAdminBlocked": isAdminBlocked,
      "isBlocked": isBlocked,
      "isBlockedMe": isBlockedMe,
      "isGroupAdmin": isGroupAdmin,
      "isGroupInOfflineMode": isGroupInOfflineMode,
      "isGroupProfile": isGroupProfile,
      "isItSavedContact": isItSavedContact,
      "isMuted": isMuted,
      "isSelected": isSelected,
      "jid": jid,
      "lastSeenPrivacyFlag": lastSeenPrivacyFlag,
      "mobileNUmberPrivacyFlag": mobileNUmberPrivacyFlag,
      "mobileNumber": mobileNumber,
      "name": name,
      "nickName": nickName,
      "status": status,
    };