annotation static method
Creates a spatial item for an annotation.
Implementation
static AnnotationSpatialItem annotation({
required String annotationId,
required Rect bounds,
}) => AnnotationSpatialItem(annotationId: annotationId, bounds: bounds);