UnreadConversation.fromJson constructor

UnreadConversation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

UnreadConversation.fromJson(Map<String, dynamic> json)
    : conversation = ConversationData.fromJson(json['conversation']),
      lastMessage = Message.fromJson(json['lastMessage']),
      unreadMessageCount = json['unreadMessageCount'];