printPretty method

void printPretty([
  1. int space = 4
])

Implementation

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