RemoteModelInfo.fromJson constructor

RemoteModelInfo.fromJson(
  1. Map json_
)

Implementation

RemoteModelInfo.fromJson(core.Map json_)
    : this(
        connection: json_.containsKey('connection')
            ? json_['connection'] as core.String
            : null,
        endpoint: json_.containsKey('endpoint')
            ? json_['endpoint'] as core.String
            : null,
        maxBatchingRows: json_.containsKey('maxBatchingRows')
            ? json_['maxBatchingRows'] as core.String
            : null,
        remoteModelVersion: json_.containsKey('remoteModelVersion')
            ? json_['remoteModelVersion'] as core.String
            : null,
        remoteServiceType: json_.containsKey('remoteServiceType')
            ? json_['remoteServiceType'] as core.String
            : null,
        speechRecognizer: json_.containsKey('speechRecognizer')
            ? json_['speechRecognizer'] as core.String
            : null,
      );