PolicyPresentationComponentBloc constructor
PolicyPresentationComponentBloc({
- PolicyPresentationRepository? policyPresentationRepository,
Implementation
PolicyPresentationComponentBloc({this.policyPresentationRepository})
: super(PolicyPresentationComponentUninitialized()) {
on<FetchPolicyPresentationComponent>((event, emit) {
_mapLoadPolicyPresentationComponentUpdateToState(event.id!);
});
on<PolicyPresentationComponentUpdated>((event, emit) {
emit(PolicyPresentationComponentLoaded(value: event.value));
});
}