FakeResponse constructor
A response with status, a JSON body (none when null) and extra headers.
Implementation
const FakeResponse(this.status, [this.body, this.headers = const {}])
: bytes = null,
_contentType = null;
A response with status, a JSON body (none when null) and extra headers.
const FakeResponse(this.status, [this.body, this.headers = const {}])
: bytes = null,
_contentType = null;