printToConsole method

  1. @override
void printToConsole(
  1. 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);
}