unsubscribe static method

Future unsubscribe(
  1. String channelName
)

Unsubscribe from a channel

Implementation

static Future unsubscribe(String channelName) async {
  await _channel.invokeMethod('unsubscribe', channelName);
}