properties method

Future<VisionProperties> properties({
  1. Map<String, dynamic>? extra,
})

Get info about what vision methods the vision service provides. Currently returns boolean values that state whether the service implements the classification, detection, and/or 3D object segmentation methods.

// Example:
var properties = await myVisionService.properties();
properties.detections_supported       // returns true
properties.classifications_supported  // returns false

Implementation

Future<VisionProperties> properties({Map<String, dynamic>? extra}) async {
  final request = GetPropertiesRequest(name: name, extra: extra?.toStruct());
  return await client.getProperties(request);
}