onWarning property

void Function(String message) onWarning
getter/setter pair

Callback invoked when a batch stays open longer than warnAfter in debug mode. Defaults to print.

Implementation

static void Function(String message) onWarning = print;