searchAnnotations method

Future<List<Annotation>> searchAnnotations(
  1. String query, {
  2. int? pageIndex,
})

Searches annotations by query, returning typed results.

Not supported on Web (returns an empty list there).

Implementation

Future<List<Annotation>> searchAnnotations(
  String query, {
  int? pageIndex,
}) async =>
    _parseAnnotationList(
      await searchAnnotationsJson(query, pageIndex: pageIndex),
    );