cancel method
Cancels the subscription.
Implementation
void cancel() {
_backoff?.cancel();
_backoffDuration = Duration.zero;
_subscription?.cancel();
}
Cancels the subscription.
void cancel() {
_backoff?.cancel();
_backoffDuration = Duration.zero;
_subscription?.cancel();
}