removeAnnotation method

Future<bool> removeAnnotation(
  1. CPDFAnnotation annotation
)

Removes an annotation from the current page.

example:

bool result = page.removeAnnotation(annotation);

Implementation

Future<bool> removeAnnotation(CPDFAnnotation annotation) async {
  return await _channel.invokeMethod('remove_annotation', {
    'page_index': pageIndex,
    'uuid': annotation.uuid,
  });
}