annotate method Null safety

Future<AnnotatedResponses> annotate(
  1. {required AnnotationRequests requests}
)

Run image detection and annotation for a batch of images.

Implementation

Future<AnnotatedResponses> annotate({required AnnotationRequests requests}) {
  return _rest.annotate(_authHeader, contentType, requests.toJson());
}