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