cancel method
void
cancel()
inherited
Cancels this token and notifies onCancel listener.
Implementation
void cancel() => onCancel?.call();
Cancels this token and notifies onCancel listener.
void cancel() => onCancel?.call();