remove method

GemError remove(
  1. int overlayId
)

Remove the overlay from the collection.

Parameters

  • IN overlayId the overlay id. The list of available overlays can be obtained by using OverlayService

Returns

Throws

  • An exception if it fails

Implementation

GemError remove(final int overlayId) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'OverlayMutableCollection',
    'remove',
    args: overlayId,
  );

  return GemErrorExtension.fromCode(resultString['result']);
}