fromMap static method
override
Construct from Map.
Implementation
static ToggleGroupCallParticipantIsMuted? 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 group_call_id = _map['group_call_id']! as int;
var participant_id = MessageSender.fromMap(_map['participant_id'])!;
var is_muted = _map['is_muted']! as bool;
return ToggleGroupCallParticipantIsMuted(
extra: extra,
clientId: clientId,
group_call_id: group_call_id,
participant_id: participant_id,
is_muted: is_muted,
);
}