toJson method
Converts a Profile instance to a JSON map.
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,
};