subscribeToPublisher method

Future<void> subscribeToPublisher(
  1. int? publisherId
)

Implementation

Future<void> subscribeToPublisher(int? publisherId) async {
  logTime("subscribeToPublisher = $publisherId", _TAG);

  if (publisherId == null) {
    return Future.error(
        IllegalArgumentException('The \'publisherId\' can\'t be null'));
  }

  return subscribeToPublishers({publisherId});
}