removeAllRequests method

void removeAllRequests()

Removes all requests from collection

Implementation

void removeAllRequests() {
  if (requests.isEmpty) {
    return;
  }

  requests.removeRange(0, requests.length);
}