start method

void start(
  1. PluginCommunicationChannel channel
)

Start this plugin by listening to the given communication channel.

Implementation

void start(PluginCommunicationChannel channel) {
  _channel = channel;
  _channel.listen(_onRequest, onError: onError, onDone: onDone);
}