hasCategories method

bool hasCategories(
  1. int categId
)

Check if category has subcategories.

Parameters

  • IN categId The category id

Returns

  • True if category has subcategories, false otherwise.

Throws

  • An exception if it fails

Implementation

bool hasCategories(final int categId) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'OverlayInfo',
    'hasCategories',
    args: categId,
  );

  return resultString['result'];
}