AutoDownloadSettingsPresets.fromJson constructor

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

Parse from a json

Implementation

AutoDownloadSettingsPresets.fromJson(Map<String, dynamic> json) {
  this.low =
      AutoDownloadSettings.fromJson(json['low'] ?? <String, dynamic>{});
  this.medium =
      AutoDownloadSettings.fromJson(json['medium'] ?? <String, dynamic>{});
  this.high =
      AutoDownloadSettings.fromJson(json['high'] ?? <String, dynamic>{});
  this.extra = json['@extra'];
}