dump method
dump event by lines
Implementation
void dump({void Function(Object? object)? print, bool? noStopwatch}) {
print ??= core.print;
if (this is SqfliteLoggerBatchEvent) {
if (noStopwatch ?? false) {
print(toLogString(toMapNoOperationsNoStopwatch()));
} else {
print(toLogString(toMapNoOperations()));
}
for (var operation in (this as SqfliteLoggerBatchEvent).operations) {
print(' $operation');
}
} else {
// default to improve
if (noStopwatch ?? false) {
print(toStringNoStopwatch());
} else {
print(toString());
}
}
}