AddedReactions.fromMap constructor
Implementation
AddedReactions.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
total_count = map['total_count'];
if (map['reactions'] != null) {
reactions = [];
for (var someValue in map['reactions']) {
if (someValue != null) {
reactions?.add(TdApiMap.fromMap(someValue) as AddedReaction);
}
}
}
next_offset = map['next_offset'];
}