BatchRecognizeFileResult constructor

BatchRecognizeFileResult({
  1. String? uri,
  2. Status? error,
  3. RecognitionResponseMetadata? metadata,
  4. BatchRecognizeResults? transcript,
})

Implementation

factory BatchRecognizeFileResult({
  $core.String? uri,
  $6.Status? error,
  RecognitionResponseMetadata? metadata,
  BatchRecognizeResults? transcript,
}) {
  final $result = create();
  if (uri != null) {
    $result.uri = uri;
  }
  if (error != null) {
    $result.error = error;
  }
  if (metadata != null) {
    $result.metadata = metadata;
  }
  if (transcript != null) {
    $result.transcript = transcript;
  }
  return $result;
}