SetPinnedChats.fromMap constructor
Implementation
SetPinnedChats.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['chat_list'] != null) {
chat_list = TdApiMap.fromMap(map['chat_list']) as ChatList;
}
if (map['chat_ids'] != null) {
chat_ids = [];
for (var someValue in map['chat_ids']) {
chat_ids?.add(someValue);
}
}
}