fromMap static method
override
Construct from Map.
Implementation
static ChatEventMemberJoinedByInviteLink? 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 invite_link = ChatInviteLink.fromMap(_map['invite_link'])!;
var via_chat_folder_invite_link =
_map['via_chat_folder_invite_link']! as bool;
return ChatEventMemberJoinedByInviteLink(
extra: extra,
clientId: clientId,
invite_link: invite_link,
via_chat_folder_invite_link: via_chat_folder_invite_link,
);
}