categoryId property

int get categoryId

Get OverlayItem category id.

It returns to the root category if which can be different from the parent category.

Returns

  • The overlay category id if it exists, otherwise 0

Implementation

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

  return resultString['result'];
}