FollowingComponentBloc constructor
FollowingComponentBloc({
- FollowingRepository? followingRepository,
Implementation
FollowingComponentBloc({this.followingRepository})
: super(FollowingComponentUninitialized()) {
on<FetchFollowingComponent>((event, emit) {
_mapLoadFollowingComponentUpdateToState(event.id!);
});
on<FollowingComponentUpdated>((event, emit) {
emit(FollowingComponentLoaded(value: event.value));
});
}