StreamingRecognitionConfig constructor

StreamingRecognitionConfig({
  1. RecognitionConfig? config,
  2. StreamingRecognitionFeatures? streamingFeatures,
  3. FieldMask? configMask,
})

Implementation

factory StreamingRecognitionConfig({
  RecognitionConfig? config,
  StreamingRecognitionFeatures? streamingFeatures,
  $4.FieldMask? configMask,
}) {
  final $result = create();
  if (config != null) {
    $result.config = config;
  }
  if (streamingFeatures != null) {
    $result.streamingFeatures = streamingFeatures;
  }
  if (configMask != null) {
    $result.configMask = configMask;
  }
  return $result;
}