DVHttpStub.fixture constructor

DVHttpStub.fixture(
  1. DVHttpFixture fixture
)

Replays a recorded response.

Implementation

factory DVHttpStub.fixture(DVHttpFixture fixture) => DVHttpStub._(
      _StubKind.response,
      status: fixture.status,
      headers: fixture.headers,
      body: fixture.body,
    );