RecognitionMetadata constructor

RecognitionMetadata({
  1. RecognitionMetadata_InteractionType? interactionType,
  2. int? industryNaicsCodeOfAudio,
  3. RecognitionMetadata_MicrophoneDistance? microphoneDistance,
  4. RecognitionMetadata_OriginalMediaType? originalMediaType,
  5. RecognitionMetadata_RecordingDeviceType? recordingDeviceType,
  6. String? recordingDeviceName,
  7. String? originalMimeType,
  8. String? audioTopic,
})

Implementation

factory RecognitionMetadata({
  RecognitionMetadata_InteractionType? interactionType,
  $core.int? industryNaicsCodeOfAudio,
  RecognitionMetadata_MicrophoneDistance? microphoneDistance,
  RecognitionMetadata_OriginalMediaType? originalMediaType,
  RecognitionMetadata_RecordingDeviceType? recordingDeviceType,
  $core.String? recordingDeviceName,
  $core.String? originalMimeType,
  $core.String? audioTopic,
}) {
  final $result = create();
  if (interactionType != null) {
    $result.interactionType = interactionType;
  }
  if (industryNaicsCodeOfAudio != null) {
    $result.industryNaicsCodeOfAudio = industryNaicsCodeOfAudio;
  }
  if (microphoneDistance != null) {
    $result.microphoneDistance = microphoneDistance;
  }
  if (originalMediaType != null) {
    $result.originalMediaType = originalMediaType;
  }
  if (recordingDeviceType != null) {
    $result.recordingDeviceType = recordingDeviceType;
  }
  if (recordingDeviceName != null) {
    $result.recordingDeviceName = recordingDeviceName;
  }
  if (originalMimeType != null) {
    $result.originalMimeType = originalMimeType;
  }
  if (audioTopic != null) {
    $result.audioTopic = audioTopic;
  }
  return $result;
}