dropIndex method

Future<Map<String, dynamic>> dropIndex(
  1. String indexHandle
)

Implementation

Future<Map<String, dynamic>> dropIndex(String indexHandle) async {
  final resp = await _connection.request(
    method: 'DELETE',
    path: '/_api/index/${_indexHandle(indexHandle)}',
  );
  return resp.body;
}