cancel method

void cancel()

Implementation

void cancel() {
  _completerList.forEach((element) {
    element.completeError(Exception("canceled"));
  });
  _completerList.clear();
}