save method

Future<Uint8List> save()

Implementation

Future<Uint8List> save() async {
  if (!_paint) {
    for (final page in _pages) {
      page.postProcess(this);
    }
    _paint = true;
  }
  return await document.save();
}