internal_models/recent_chat_model library

Classes

RecentChat
A class that represents a recent chat.
RecentChatData
A class that represents the recent chat data.

Functions

convertRecentChatDataJsonFromString(String? str) String
Converts a JSON string into a JSON string representing a list of RecentChatData objects.
convertRecentChatFromJson(String? str) String
Converts a JSON string into a JSON string representing a RecentChat object.
convertRecentChatListFromJson(String? str) String
Converts a JSON string into a JSON string representing a list of RecentChat objects.
getContactType(Map<String, dynamic> json) String
A function that returns the contact type.
getLastMessageStatus(dynamic status) String?
A function that returns the status of the last message.
getMessageType(dynamic type) String?
A function that returns the type of the last message.
recentChatDataFromJson(String str) RecentChatData
Converts a JSON string into a RecentChatData object.
recentChatDataToJson(RecentChatData str) String
Converts a RecentChatData object into a JSON string.
recentChatFromJson(String str) RecentChat
Converts a JSON string into a RecentChat object.
recentChatListFromJson(String str) List<RecentChat>
Converts a JSON string into a list of RecentChat objects.
recentChatListToJson(List<RecentChat> data) String
Converts a list of RecentChat objects into a JSON string.
recentChatToJson(RecentChat data) String
Converts a RecentChat object into a JSON string.