cancelSubscription method

void cancelSubscription()

Implementation

void cancelSubscription() {
  subscription?.cancel();
}