addAnnotation static method

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

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 jsonAnnotation) async =>
    PspdfkitFlutterPlatform.instance.addAnnotation(jsonAnnotation);