encode method
The file's text: indented JSON with a newline at the end.
Implementation
String encode() =>
'${const JsonEncoder.withIndent(' ').convert(toJson())}\n';
The file's text: indented JSON with a newline at the end.
String encode() =>
'${const JsonEncoder.withIndent(' ').convert(toJson())}\n';