ContactChatMessage.fromJson constructor
Converts a JSON object into a ContactChatMessage instance.
Implementation
factory ContactChatMessage.fromJson(Map<String, dynamic> json) =>
ContactChatMessage(
contactName: json["contactName"],
contactPhoneNumbers: json["contactPhoneNumbers"] == null
? []
: List<String>.from(json["contactPhoneNumbers"]!.map((x) => x)),
isChatAppUser: json["isChatAppUser"] == null
? []
: List<bool>.from(json["isChatAppUser"]!.map((x) => x)),
messageId: json["messageId"],
);