addAnnotation static method

Future<bool?> addAnnotation(
  1. dynamic annotation
)

Adds the given annotation to the presented document. jsonAnnotation can either be a JSON string or a valid JSON Dictionary (iOS) / HashMap (Android).

Implementation

static Future<bool?> addAnnotation(dynamic annotation) async =>
    PspdfkitFlutterPlatform.instance.addAnnotation(annotation);