DriverLogCallback typedef Null safety

DriverLogCallback = void Function(String source, String message)

Signature for driverLog.

The first argument is a string representing the source of the message, typically the class name or library name calling the method.

The second argument is the message being logged.

Implementation

typedef DriverLogCallback = void Function(String source, String message);