saveDocument method

Future<String?> saveDocument()

Saves the current document and returns the absolute path to the file.

Must only be called when a document is open in the viewer.

Implementation

Future<String?> saveDocument() {
  return _channel.invokeMethod(Functions.saveDocument);
}