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