DetailsBloc<T, I> constructor

DetailsBloc<T, I>(
  1. DetailsRepository<T, I> repository
)

Implementation

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