toPrettyString method

String toPrettyString()

This node as JSON text indented by two spaces, for people to read.

Implementation

String toPrettyString() =>
    const JsonEncoder.withIndent('  ').convert(toJson());