ChatEventLocationChanged.fromMap constructor
Implementation
ChatEventLocationChanged.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['old_location'] != null) {
old_location = TdApiMap.fromMap(map['old_location']) as ChatLocation;
}
if (map['new_location'] != null) {
new_location = TdApiMap.fromMap(map['new_location']) as ChatLocation;
}
}