annotate method Null safety

  1. @POST('/images:annotate')
Future<AnnotatedResponses> annotate(
  1. @Header('Authorization') String authorization,
  2. @Header('Content-Type') String contentType,
  3. @Body() Map<String, dynamic> params
)
@POST('/images:annotate')

Run image detection and annotation for a batch of images.

Implementation

@POST('/images:annotate')
Future<AnnotatedResponses> annotate(
    @Header('Authorization') String authorization,
    @Header('Content-Type') String contentType,
    @Body() Map<String, dynamic> params);