formatSource method

String formatSource(
  1. String source
)

Formats raw schema source into the canonical serialized form.

Implementation

String formatSource(String source) {
  return schemaToSource(parser.parse(source));
}