debugPrintOverride property Null safety

DebugPrintCallback debugPrintOverride

The value to set debugPrint to while tests are running.

This can be used to redirect console output from the framework, or to change the behavior of debugPrint. For example, AutomatedTestWidgetsFlutterBinding uses it to make debugPrint synchronous, disabling its normal throttling behavior.


DebugPrintCallback get debugPrintOverride => debugPrint;