categoryId property

int get categoryId

Get OverlayItem category id.

Returns

  • The overlay category id if it exists, otherwise 0

Throws

  • An exception if it fails

Implementation

int get categoryId {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'OverlayItem',
    'getCategoryId',
  );

  return resultString['result'];
}