FakeHttp constructor

FakeHttp({
  1. bool dryRun = false,
})

Creates a fake client.

With dryRun it behaves like the client of a dry run: a request that would change something throws a DryRunStopped and is not recorded.

Implementation

FakeHttp({this.dryRun = false});