selectCollection method

Future<void> selectCollection(
  1. String collection
)

Implementation

Future<void> selectCollection(String collection) async {
  selectedCollection = collection;
  collectionSearchText = '';
  notifyListeners();
  await loadCollection(collection);
}