addAnnotation static method
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);