ScriptedRequest<TId, TValue, TKey> constructor
ScriptedRequest<TId, TValue, TKey> (
- List<
FutureOr< stepsBatchOutcome< Function(List<TId, TValue> >TId> ids, TKey key)>
Creates a request that returns steps in order.
Once the script runs out the last step repeats, so a test only scripts the calls it cares about.
Implementation
ScriptedRequest(this.steps)
: assert(steps.isNotEmpty, 'a script needs at least one step');