unselectGraphics method

void unselectGraphics(
  1. {required List<Graphic> graphics}
)

Unselects the specified graphics.

Any graphics that are not in the overlay will be ignored.

Parameters:

  • graphics — The graphics to be unselected.

Implementation

void unselectGraphics({required List<Graphic> graphics}) {
  final coreGraphics =
      graphics.toMutableArray(valueType: _ElementType.graphic);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GraphicsOverlay_unselectGraphics(
        _handle, coreGraphics._handle, errorHandler);
  });
}