BatchRecognizeResponse constructor

BatchRecognizeResponse({
  1. Map<String, BatchRecognizeFileResult>? results,
  2. Duration? totalBilledDuration,
})

Implementation

factory BatchRecognizeResponse({
  $core.Map<$core.String, BatchRecognizeFileResult>? results,
  $5.Duration? totalBilledDuration,
}) {
  final $result = create();
  if (results != null) {
    $result.results.addAll(results);
  }
  if (totalBilledDuration != null) {
    $result.totalBilledDuration = totalBilledDuration;
  }
  return $result;
}