deleteAnnotations static method
Deletes the specified annotations in the current document.
List<Annot> annotList = new List<Annot>.empty(growable: true);
annotList.add(new Annot('Hello', 1));
annotList.add(new Annot('World', 2));
await PdftronFlutter.deleteAnnotations(annotList);
Implementation
static Future<void> deleteAnnotations(List<Annot> annotationList) {
return _channel.invokeMethod(Functions.deleteAnnotations,
<String, dynamic>{Parameters.annotations: jsonEncode(annotationList)});
}