deleteSpecifications method
Deletes validation specifications for a data collection.
The request succeeds even if no specification exist for that data collection.
Note: an empty specification is implicitly applied to all collections. In a way, "no specification set" means "all documents are valid".
Implementation
Future<Map<String, dynamic>> deleteSpecifications(
String index, String collection) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name,
action: 'deleteSpecifications',
index: index,
collection: collection,
));
return response.result as Map<String, dynamic>;
}