addCategory method

void addCategory({
  1. required int overlayId,
  2. required int categoryId,
})

Add an online overlay category to the collection.

Add an overlay category id to the collection

Parameters

Throws

  • An exception if it fails

Implementation

void addCategory({
  required final int overlayId,
  required final int categoryId,
}) {
  objectMethod(
    _pointerId,
    'OverlayMutableCollection',
    'addCategory',
    args: <String, int>{'overlayId': overlayId, 'categoryId': categoryId},
  );
}