save method

Future<int> save(
  1. String filename
)

Download images. filename - name of the file. Returns 0 if successful.

Implementation

Future<int> save(String filename) async {
  if (_normalizedDocument != null) {
    await handleThenable(_normalizedDocument!.saveToFile(filename, true));
  }
  return 0;
}