listCollections method
Implementation
@override
Future<List<CollectionInfo>> listCollections() async {
List<CollectionType> collectionTypeList = await client.listCollections();
return collectionTypeList.map((collectionType) => CollectionInfo(name: collectionType.name, docsName: collectionType.metadata![docsNameKey] as String)).toList();
}