getSpecifications #
Returns the validation specifications associated to the given index and collection.
Future<Map<String, dynamic>> getSpecifications(
String index, String collection)| Arguments | Type | Description |
|---|---|---|
index | String | Index name |
collection | String | Collection name |
Returns #
Returns a Future<Map<String, dynamic>> representing the collection specifications.
Usage #
final result = await kuzzle
.collection
.getSpecifications('nyc-open-data', 'yellow-taxi');