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}) async {
  return await _rest.annotate(_authHeader, contentType, requests.toJson());
}