BaseBloc<T> constructor

BaseBloc<T>()

Implementation

BaseBloc() : super(InitialState()) {
  on<InitialEvent>(onInit);
  on<LoadEvent>(onLoad);
  on<LoadMoreEvent>(onLoadMore);
  on<UpdateEvent>(onUpdate);

  add(InitialEvent());
}