printToConsole method

  1. @protected
void printToConsole(
  1. String message
)

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

@protected
void printToConsole(String message) {
  debugPrint(message);
}