getDisplayedAttributes method

Future<List<String>> getDisplayedAttributes()

Get the displayed attributes of the index.

Implementation

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

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