NotificationSounds.fromJson constructor
Parses a NotificationSounds from TDLib JSON.
Implementation
factory NotificationSounds.fromJson(Map<String, dynamic> json) =>
NotificationSounds(
notificationSounds: _readList<NotificationSound>(
json['notification_sounds'],
(e) => _readObject(e, NotificationSound.fromJson)),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);