File.fromMap constructor
Implementation
File.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
id = map['id'];
size = map['size'];
expected_size = map['expected_size'];
if (map['local'] != null) {
local = TdApiMap.fromMap(map['local']) as LocalFile;
}
if (map['remote'] != null) {
remote = TdApiMap.fromMap(map['remote']) as RemoteFile;
}
}