clear method

void clear([
  1. String msg = 'cancelled'
])

Clean the interceptor queue.

Implementation

void clear([String msg = 'cancelled']) {
  if (locked) {
    _completer.completeError(msg);
    _lock = null;
  }
}