shards method
Return the shard ids of a collection
Implementation
Future<Map<String, dynamic>?> shards() async {
Map<String, dynamic>? res;
try {
var request = client.prepareRequest('/_api/collection/${name}/shards',
methode: 'get');
res = await client.exec(request);
} catch (e) {
print(e);
}
return res;
}