RecognitionOutputConfig.fromJson constructor

RecognitionOutputConfig.fromJson(
  1. Map json_
)

Implementation

RecognitionOutputConfig.fromJson(core.Map json_)
    : this(
        gcsOutputConfig: json_.containsKey('gcsOutputConfig')
            ? GcsOutputConfig.fromJson(json_['gcsOutputConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        inlineResponseConfig: json_.containsKey('inlineResponseConfig')
            ? InlineOutputConfig.fromJson(json_['inlineResponseConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        outputFormatConfig: json_.containsKey('outputFormatConfig')
            ? OutputFormatConfig.fromJson(json_['outputFormatConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );