save method
Save document
saveIncrementalWhether to perform an incremental save. Default is true.Only supported on Android Platform.fontSubSetWhether to embed the font subset when saving the PDF. This will affect how text appears in other PDF software. This is a time-consuming operation.
example:
bool result = await _controller.save(saveIncremental: true, fontSubSet: true);
Return value: true if the save is successful, false if the save fails.
Implementation
Future<bool> save(
{bool saveIncremental = true, bool fontSubSet = true}) async {
return await _channel.invokeMethod('save',
{'save_incremental': saveIncremental, 'font_sub_set': fontSubSet});
}