asLines static method
This will give you access to each lines in the callback function
lineCallback
. This can be useful to modify the output in any form.
Implementation
static void asLines(
Map obj,
Function(String line) lineCallback, [
bool showValues = true,
]) {
_growBranch('.', obj, false, const [], showValues, lineCallback);
}