toJson method
Converts a ProfileData instance into a JSON object.
Implementation
Map<String, dynamic> toJson() => {
"email": email,
"image": image,
"isAdminBlocked": isAdminBlocked,
"isBlocked": isBlocked,
"isBlockedMe": isBlockedMe,
"isGroupAdmin": isGroupAdmin,
"isGroupInOfflineMode": isGroupInOfflineMode,
"isGroupProfile": isGroupProfile,
"isItSavedContact": isItSavedContact,
"isMuted": isMuted,
"isSelected": isSelected,
"jid": jid,
"mobileNumber": mobileNumber,
"name": name,
"nickName": nickName,
"status": status,
"thumbImage": thumbImage,
};