overlayInfo property

OverlayInfo? get overlayInfo

Get the parent overlay info.

Returns

  • Empty if OverlayItem is empty

Throws

  • An exception if it fails

Implementation

OverlayInfo? get overlayInfo {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'OverlayItem',
    'overlayinfo',
  );

  if (resultString['result'] == -1) {
    return null;
  }

  return OverlayInfo.init(resultString['result']);
}