addCategory method
Add an online overlay category to the collection.
Add an overlay category id to the collection
Parameters
- IN overlayId The overlay id. The list of available overlays can be obtained by using OverlayService.
- IN categoryId The category id in OverlayInfo.categories result list
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},
);
}