throwIfCancelled method
Implementation
void throwIfCancelled({String? path}) {
if (_cancelled) {
throw CancelledException(
'operation cancelled',
path: path,
cause: _reason,
);
}
}
void throwIfCancelled({String? path}) {
if (_cancelled) {
throw CancelledException(
'operation cancelled',
path: path,
cause: _reason,
);
}
}