toFileContents method

String toFileContents()

Serialize to the committed, diffable document bytes.

Implementation

String toFileContents() => '${toCanonicalJson()}\n';