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