cancel method
void
cancel()
To prevent memory leak, cancel the subscription once there is no need for this EventRule
Implementation
void cancel() {
_subscription.cancel();
}
To prevent memory leak, cancel the subscription once there is no need for this EventRule
void cancel() {
_subscription.cancel();
}