liveListBloc method
Creates a lazy loader for the objects matching the filter
that is self-updated when the data changes at the origin.
The loader is cached for future calls with the same filter
.
Implementation
LazyLoadBloc<T> liveListBloc(F filter) {
final existing = _liveLazyLoadBlocs[filter];
if (existing != null) {
return existing;
}
final result = createLiveListBloc(filter);
_liveLazyLoadBlocs[filter] = result;
return result;
}