cancel method
void
cancel()
Detaches the control from the scope. Safe to call more than once.
Implementation
void cancel() {
if (_cancelled) return;
_cancelled = true;
_scope._subscriptions.remove(this);
}
Detaches the control from the scope. Safe to call more than once.
void cancel() {
if (_cancelled) return;
_cancelled = true;
_scope._subscriptions.remove(this);
}