toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connection != null) 'connection': connection!,
      if (endpoint != null) 'endpoint': endpoint!,
      if (maxBatchingRows != null) 'maxBatchingRows': maxBatchingRows!,
      if (remoteModelVersion != null)
        'remoteModelVersion': remoteModelVersion!,
      if (remoteServiceType != null) 'remoteServiceType': remoteServiceType!,
      if (speechRecognizer != null) 'speechRecognizer': speechRecognizer!,
    };