toJson method

Map<String, dynamic> toJson()

Implementation

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