diff --git a/lib/src/bloc_select.dart b/lib/src/bloc_select.dart index e8ba0da..b32a70a 100644 --- a/lib/src/bloc_select.dart +++ b/lib/src/bloc_select.dart @@ -111,6 +111,13 @@ class SelectBloc { } } + //A way to externally trigger the BLOC to rerun the query. + //Very useful if you have a changing filter being used as part of the + //search query. + Future reload() async { + return _getItems(); + } + Future _getItems() async { List> res;