removeListener method

void removeListener()

Cancels and removes a StreamSubscription.

Implementation

void removeListener() {
  _subscriptions.last.cancel();
  _subscriptions.removeLast();
}