delete method
Delete an index
from Kuzzle.
returns true if achnowledged
Implementation
Future<bool> delete(String index) async {
final response = await kuzzle.query(KuzzleRequest(
action: 'delete',
controller: name,
index: index,
));
return (response.result as Map<String, dynamic>)['acknowledged'] as bool;
}