setDioForTesting static method
void
setDioForTesting(
- Dio dio
Sets the internal Dio instance (useful for tests to inject a mocked Dio).
This method is intentionally simple and intended for test usage only.
Implementation
static void setDioForTesting(Dio dio) {
_dio = dio;
}