release method

void release()

Implementation

void release() {
  if (_queue.isNotEmpty) {
    final completer = _queue.removeAt(0);
    completer.complete();
  } else {
    _currentCount--;
  }
}