toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.enableClosedCaptions != null) {
    json[r'enable_closed_captions'] = this.enableClosedCaptions;
  } else {
    json[r'enable_closed_captions'] = null;
  }
  if (this.language != null) {
    json[r'language'] = this.language;
  } else {
    json[r'language'] = null;
  }
  if (this.transcriptionExternalStorage != null) {
    json[r'transcription_external_storage'] =
        this.transcriptionExternalStorage;
  } else {
    json[r'transcription_external_storage'] = null;
  }
  return json;
}