getAnnotations static method

Future getAnnotations(
  1. int pageIndex,
  2. String type
)

Returns a list of JSON dictionaries for all the annotations of the given type on the given pageIndex.

Implementation

static Future<dynamic> getAnnotations(int pageIndex, String type) async =>
    PspdfkitFlutterPlatform.instance
        .getAnnotations(pageIndex, annotationTypeFromString(type));