getRequestsFor method

List<MockRequest> getRequestsFor(
  1. String endpointId
)

Gets all requests made to a specific endpoint.

Implementation

List<MockRequest> getRequestsFor(String endpointId) {
  return requests.where((r) => r.endpointId == endpointId).toList();
}