toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.recordingStorageName != null) {
    json[r'recording_storage_name'] = this.recordingStorageName;
  } else {
    json[r'recording_storage_name'] = null;
  }
  if (this.startHls != null) {
    json[r'start_hls'] = this.startHls;
  } else {
    json[r'start_hls'] = null;
  }
  if (this.startRecording != null) {
    json[r'start_recording'] = this.startRecording;
  } else {
    json[r'start_recording'] = null;
  }
  if (this.startRtmpBroadcasts != null) {
    json[r'start_rtmp_broadcasts'] = this.startRtmpBroadcasts;
  } else {
    json[r'start_rtmp_broadcasts'] = null;
  }
  if (this.startTranscription != null) {
    json[r'start_transcription'] = this.startTranscription;
  } else {
    json[r'start_transcription'] = null;
  }
  if (this.transcriptionStorageName != null) {
    json[r'transcription_storage_name'] = this.transcriptionStorageName;
  } else {
    json[r'transcription_storage_name'] = null;
  }
  return json;
}