importAnnotations method

Future<bool> importAnnotations(
  1. String xfdfFile
)

Imports annotations from the specified XFDF file into the current PDF document.

Parameters:
xfdfFile - Path of the XFDF file to be imported.

example:

bool result = await document.importAnnotations(xxx.xfdf);

Returns: true if the import is successful; otherwise, false.

Implementation

Future<bool> importAnnotations(String xfdfFile) async {
  return await _channel.invokeMethod('import_annotations', xfdfFile);
}