fromMap static method
override
Construct from Map.
Implementation
static ChatInviteLinkCount? 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 user_id = _map['user_id']! as int;
var invite_link_count = _map['invite_link_count']! as int;
var revoked_invite_link_count = _map['revoked_invite_link_count']! as int;
return ChatInviteLinkCount(
extra: extra,
clientId: clientId,
user_id: user_id,
invite_link_count: invite_link_count,
revoked_invite_link_count: revoked_invite_link_count,
);
}