SDK
SDK Dart v1.x
2

# getSpecifications

Returns the validation specifications associated to the given index and collection.


Copied to clipboard!
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

Copied to clipboard!
final result = await kuzzle
  .collection
  .getSpecifications('nyc-open-data', 'yellow-taxi');