unsubscribe static method

Future<void> unsubscribe(
  1. dynamic topic
)

Implementation

static Future<void> unsubscribe(topic) async {
  return await promiseToFuture(unsubscribeJS(topic));
}