collections method
Returns all collections
Implementation
FutureOr<Map<String, dynamic>?> collections() async {
Map<String, dynamic>? res;
try {
var request = client.prepareRequest('/_api/collection', methode: 'get');
res = await client.exec(request);
} catch (e) {
print(e);
}
return res;
}