writeDocument method
Future<OkfWriteResult>
writeDocument(
- String rootPath,
- String relativePath,
- OkfDocument document, {
- bool checkOnly = false,
Serializes and writes document beneath rootPath.
Implementation
Future<OkfWriteResult> writeDocument(
String rootPath,
String relativePath,
OkfDocument document, {
bool checkOnly = false,
}) => writeAll(rootPath, <String, String>{
relativePath: document.serialize(),
}, checkOnly: checkOnly);