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