refresh method
Forces an immediate reindexation of the provided security collection.
Implementation
Future<bool> refresh(String collection) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name, action: 'refresh', collection: collection));
return response.status == 200 && response.result == null;
}