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