liveByIdBloc method
Returns a loader for a single object by id
that is self-updated
when the data changes at the origin.
The loader is cached for future calls with the same ID.
Implementation
ModelByIdBloc<I, T> liveByIdBloc(I id) {
final existing = _liveByIdBlocs[id];
if (existing != null) {
return existing;
}
final result = createLiveByIdBloc(id);
_liveByIdBlocs[id] = result;
return result;
}