cancelWithReason method
Cancels all operations using this token with a CancelledException that
includes the given reason
.
This does not affect the merged tokens.
Implementation
@override
void cancelWithReason(String? reason) {
cancel(CancelledException(cancellationReason: reason));
}