SetChatLocation.fromMap constructor

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

Implementation

SetChatLocation.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  chat_id = map['chat_id'];
  if (map['location'] != null) {
    location = TdApiMap.fromMap(map['location']) as ChatLocation;
  }
}