fromMap static method
override
Construct from Map.
Implementation
static UpdateUnreadMessageCount? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var chat_list = ChatList.fromMap(_map['chat_list'])!;
var unread_count = _map['unread_count']! as int;
var unread_unmuted_count = _map['unread_unmuted_count']! as int;
return UpdateUnreadMessageCount(
extra: extra,
clientId: clientId,
chat_list: chat_list,
unread_count: unread_count,
unread_unmuted_count: unread_unmuted_count,
);
}