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.maxDurationMinutes != null) {
    json[r'max_duration_minutes'] = this.maxDurationMinutes;
  } else {
    json[r'max_duration_minutes'] = null;
  }
  if (this.quality != null) {
    json[r'quality'] = this.quality;
  } else {
    json[r'quality'] = null;
  }
  return json;
}