searchAnnotations method
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),
);