getCategory method
Get the overlay category by Id.
Parameters
- IN categId The category id
Returns
- null if no category is found.
- OverlayCategory if category is found
Implementation
OverlayCategory? getCategory(final int categId) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'OverlayInfo',
    'getCategory',
    args: categId,
  );
  if (resultString['result']['uid'] == 0) {
    return null;
  }
  return OverlayCategory.fromJson(resultString['result']);
}