getOverlayByUId method

OverlayInfo? getOverlayByUId(
  1. int overlayUid
)

Find an overlay by its UID.

Parameters

  • overlayUid: Unique identifier of the overlay dataset.

Returns

Also see:

Implementation

OverlayInfo? getOverlayByUId(final int overlayUid) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'OverlayCollection',
    'getOverlayByUid',
    args: overlayUid,
  );
  final int id = resultString['result'];

  if (id == -1) {
    return null;
  }

  return OverlayInfo.init(id);
}