toJson method
Converts a ContactChatMessage instance to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
"contactName": contactName,
"contactPhoneNumbers":
List<dynamic>.from(contactPhoneNumbers.map((x) => x)),
"isChatAppUser": List<dynamic>.from(isChatAppUser.map((x) => x)),
"messageId": messageId,
};