UpdateUnreadMessageCount.fromJson constructor

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

Parse from a json

Implementation

factory UpdateUnreadMessageCount.fromJson(Map<String, dynamic> json) =>
    UpdateUnreadMessageCount(
      chatList: ChatList.fromJson(json['chat_list']),
      unreadCount: json['unread_count'],
      unreadUnmutedCount: json['unread_unmuted_count'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );