Thumbnail.fromMap constructor
Implementation
Thumbnail.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['format'] != null) {
format = TdApiMap.fromMap(map['format']) as ThumbnailFormat;
}
width = map['width'];
height = map['height'];
if (map['file'] != null) {
file = TdApiMap.fromMap(map['file']) as File;
}
}