RecognitionMetadata.fromJson constructor

RecognitionMetadata.fromJson(
  1. Map json_
)

Implementation

RecognitionMetadata.fromJson(core.Map json_)
    : this(
        audioTopic: json_.containsKey('audioTopic')
            ? json_['audioTopic'] as core.String
            : null,
        industryNaicsCodeOfAudio:
            json_.containsKey('industryNaicsCodeOfAudio')
                ? json_['industryNaicsCodeOfAudio'] as core.int
                : null,
        interactionType: json_.containsKey('interactionType')
            ? json_['interactionType'] as core.String
            : null,
        microphoneDistance: json_.containsKey('microphoneDistance')
            ? json_['microphoneDistance'] as core.String
            : null,
        originalMediaType: json_.containsKey('originalMediaType')
            ? json_['originalMediaType'] as core.String
            : null,
        originalMimeType: json_.containsKey('originalMimeType')
            ? json_['originalMimeType'] as core.String
            : null,
        recordingDeviceName: json_.containsKey('recordingDeviceName')
            ? json_['recordingDeviceName'] as core.String
            : null,
        recordingDeviceType: json_.containsKey('recordingDeviceType')
            ? json_['recordingDeviceType'] as core.String
            : null,
      );