iOSSetAnnotationIsDirty abstract method

Future<bool> iOSSetAnnotationIsDirty(
  1. int pageIndex,
  2. String annotationId,
  3. bool isDirty
)

iOS only. Sets the dirty state of a specific annotation.

This maps to annotation.isDirty = value in the iOS SDK. Setting to false can prevent an annotation from being included in save operations.

Throws an error on Android (no per-annotation dirty state) and Web.

Implementation

Future<bool> iOSSetAnnotationIsDirty(
    int pageIndex, String annotationId, bool isDirty);