printPretty method
Implementation
void printPretty([int space = 2]) {
if (this is Map || this is List) {
print(toStringifyPretty(space));
} else {
print(toString());
}
}
void printPretty([int space = 2]) {
if (this is Map || this is List) {
print(toStringifyPretty(space));
} else {
print(toString());
}
}