RecognizeRequest.fromJson constructor

RecognizeRequest.fromJson(
  1. Map json_
)

Implementation

RecognizeRequest.fromJson(core.Map json_)
    : this(
        config: json_.containsKey('config')
            ? RecognitionConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : null,
        configMask: json_.containsKey('configMask')
            ? json_['configMask'] as core.String
            : null,
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );