contains method
- int overlayId
Check if an overlay is in the collection.
Parameters
- IN id The overlay id. The list of available overlays can be obtained by using OverlayService.
Returns
- True if overlay is in the collection, false otherwise.
Throws
- An exception if it fails
Implementation
bool contains(final int overlayId) {
final OperationResult resultString = objectMethod(
_pointerId,
'OverlayCollection',
'contains',
args: overlayId,
);
return resultString['result'];
}