exportAnnotations method

Future<String> exportAnnotations()

Exports annotations from the current PDF document to an XFDF file.

example:

String xfdfPath = await document.exportAnnotations();

Returns: The path of the XFDF file if export is successful; an empty string if the export fails.

Implementation

Future<String> exportAnnotations() async {
  return await _channel.invokeMethod('export_annotations');
}