annotation static method

AnnotationSpatialItem annotation({
  1. required String annotationId,
  2. required Rect bounds,
})

Creates a spatial item for an annotation.

Implementation

static AnnotationSpatialItem annotation({
  required String annotationId,
  required Rect bounds,
}) => AnnotationSpatialItem(annotationId: annotationId, bounds: bounds);