Logger typedef
Logger =
void Function(DisposeBag bag, BagResult result, Set resources, [Object? error, StackTrace? stackTrace])
Logs the result of disposing or clearing. By default, prints the result to the console.
Implementation
typedef Logger = void Function(
DisposeBag bag,
BagResult result,
Set<dynamic> resources, [
Object? error,
StackTrace? stackTrace,
]);