CancelledException constructor

CancelledException({
  1. String? message,
  2. StackTrace? stackTrace,
  3. String? workerId,
  4. int? command,
})

Implementation

CancelledException(
    {String? message, StackTrace? stackTrace, String? workerId, int? command})
    : super(message ?? 'The task has been cancelled',
          stackTrace: stackTrace, workerId: workerId, command: command);