cancel method

void cancel([
  1. String reason = 'Export job cancelled.'
])

Implementation

void cancel([String reason = 'Export job cancelled.']) {
  (_activeCancellationToken ?? cancellationToken).cancel(reason);
}