toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.autoOn != null) {
    json[r'auto_on'] = this.autoOn;
  } else {
    json[r'auto_on'] = null;
  }
  if (this.enabled != null) {
    json[r'enabled'] = this.enabled;
  } else {
    json[r'enabled'] = null;
  }
    json[r'quality_tracks'] = this.qualityTracks;
  return json;
}