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