AutoDownloadSettingsPresets.fromJson constructor

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

Parse from a json

Implementation

factory AutoDownloadSettingsPresets.fromJson(Map<String, dynamic> json) =>
    AutoDownloadSettingsPresets(
      low: AutoDownloadSettings.fromJson(json['low']),
      medium: AutoDownloadSettings.fromJson(json['medium']),
      high: AutoDownloadSettings.fromJson(json['high']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );