printToConsole method Null safety
- String message
override
Calls debugPrint with the given message.
This is overridden by the WidgetTester subclass to use the test binding's TestWidgetsFlutterBinding.debugPrintOverride, so that it appears on the console even if the test is logging output from the application.
Implementation
@override
void printToConsole(String message) {
binding.debugPrintOverride(message);
}