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