injectMockHttpClient method Null safety
- Client client
inherited
Implementation
void injectMockHttpClient(http.Client client) {
if (Constants.mockHttpForTesting) {
httpClient = client;
}
}
void injectMockHttpClient(http.Client client) {
if (Constants.mockHttpForTesting) {
httpClient = client;
}
}