addNewRequest method

void addNewRequest(
  1. RequestDetails request
)

Implementation

void addNewRequest(RequestDetails request) {
  if (!_enabled) return;
  _requestsList.insert(0, request);
  notifyListeners();
}