overrideHttpClient property Null safety

bool overrideHttpClient
override

Determines whether the Dart HttpClient class should be overridden to always return a failure response.

By default, this value is true, so that unit tests will not become flaky due to intermittent network errors. The value may be overridden by a binding intended for use in integration tests that do end to end application testing, including working with real network responses.

Implementation

@override
bool get overrideHttpClient => false;