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