stop method

void stop()

Implementation

void stop() {
  if (subscription == null) return;
  subscription.cancel();
  subscription = null;
}