DetailsBloc<T, I> constructor
DetailsBloc<T, I> (
- DetailsRepository<
T, I> repository
Implementation
DetailsBloc(DetailsRepository<T, I> repository)
: _repository = repository,
super(Initial<T>()) {
on<LoadDetails<I>>(_loadItemWithId);
}