selectAnnotation static method

Future<void> selectAnnotation(
  1. Annot annotation
)

Selects the specified annotation in the current document.

await PdftronFlutter.selectAnnotation(new Annot('Hello', 1));

Implementation

static Future<void> selectAnnotation(Annot annotation) {
  return _channel.invokeMethod(Functions.selectAnnotation,
      <String, dynamic>{Parameters.annotation: jsonEncode(annotation)});
}