subscribe method

void subscribe(
  1. MethodCall call
)

Implementation

void subscribe(MethodCall call) {
  assertPusher();
  var channelName = call.arguments['channelName'];
  pusher!.subscribe(channelName);
}