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