delete method
Deletes a document.
Implementation
Future<void> delete(
String index,
String collection,
String id, {
bool waitForRefresh = false,
}) async {
await kuzzle.query(KuzzleRequest(
controller: name,
action: 'delete',
index: index,
collection: collection,
uid: id,
waitForRefresh: waitForRefresh,
));
}