GetMapThumbnailFile.fromMap constructor

GetMapThumbnailFile.fromMap(
  1. Map<String, dynamic> map
)

Implementation

GetMapThumbnailFile.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  if (map['location'] != null) {
    location = TdApiMap.fromMap(map['location']) as Location;
  }
  zoom = map['zoom'];
  width = map['width'];
  height = map['height'];
  scale = map['scale'];
  chat_id = map['chat_id'];
}