requests property

List<ScenarioRequest> requests
final

Every exchange this scenario has made, in order — the same list the step's Events pane is built from, for a body that wants to assert on it.

await s.tap('Place order');
expect(s.network.requests.last.url.path, '/api/orders');

Emptied between the branches of a split — see resetForReplay — so it answers "what did this path ask for". requestsEver is the other question.

Implementation

final requests = <ScenarioRequest>[];