UpdateUnreadChatCount.fromJson constructor

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

Parse from a json

Implementation

factory UpdateUnreadChatCount.fromJson(Map<String, dynamic> json) => UpdateUnreadChatCount(
  chatList: ChatList.fromJson(json['chat_list']),
  totalCount: json['total_count'],
  unreadCount: json['unread_count'],
  unreadUnmutedCount: json['unread_unmuted_count'],
  markedAsUnreadCount: json['marked_as_unread_count'],
  markedAsUnreadUnmutedCount: json['marked_as_unread_unmuted_count'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);