CancellationToken constructor
Implementation
factory CancellationToken({
_i2.bool? isCancellationRequested,
_i3.Event<_i2.dynamic>? onCancellationRequested,
}) =>
CancellationToken._(
isCancellationRequested: isCancellationRequested,
onCancellationRequested: onCancellationRequested ?? _i6.undefined,
);