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