getCollections method
Returns a list of all available collections.
Implementation
Future<List<Collection>> getCollections() async {
// Assuming all collections have corresponding directories and files
// Alternatively, you can scan the 'data' directory to find available collections
return Collection.values;
}