DVHttpStub.sequence constructor

DVHttpStub.sequence(
  1. List<DVHttpStub> stubs
)

The nth call gets the nth stub, and the last one repeats — a service that fails twice and then recovers.

Implementation

factory DVHttpStub.sequence(List<DVHttpStub> stubs) =>
    DVHttpStub._(_StubKind.sequence, sequence: stubs);