LongRunningRecognizeRequest.fromJson constructor

LongRunningRecognizeRequest.fromJson(
  1. Map json_
)

Implementation

LongRunningRecognizeRequest.fromJson(core.Map json_)
    : this(
        audio: json_.containsKey('audio')
            ? RecognitionAudio.fromJson(
                json_['audio'] as core.Map<core.String, core.dynamic>)
            : null,
        config: json_.containsKey('config')
            ? RecognitionConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : null,
        outputConfig: json_.containsKey('outputConfig')
            ? TranscriptOutputConfig.fromJson(
                json_['outputConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );