ScanMessageSink typedef
ScanMessageSink =
void Function(String message)
Optional sink for progress and error messages. When null, output goes to stdout (messages) and stderr (progress). When set, all output is sent to this callback so callers can suppress or redirect.
Implementation
typedef ScanMessageSink = void Function(String message);