getStopWords method

Future<List<String>> getStopWords()

Get stop words of the index.

Implementation

Future<List<String>> getStopWords() async {
  final response = await http
      .getMethod<List<Object?>>('/indexes/$uid/settings/stop-words');

  return response.data!.cast<String>();
}