remove method
- 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
- GemError.success on success, GemError.notFound if the overlay is not in the collection
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']);
}