UpdateSavedNotificationSounds.fromJson constructor

UpdateSavedNotificationSounds.fromJson(
  1. Map<String, dynamic> json
)

Parses a UpdateSavedNotificationSounds from TDLib JSON.

Implementation

factory UpdateSavedNotificationSounds.fromJson(Map<String, dynamic> json) =>
    UpdateSavedNotificationSounds(
      notificationSoundIds:
          _readList<int>(json['notification_sound_ids'], _readInt),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );