dispose method

  1. @override
void dispose()
override

called when done, cancels any oustanding jobs

Implementation

@override
void dispose() {
  if (!_disposed) {
    _disposed = true;
    _completeCancelled(cancelAll: true);
  }
}