modules/common_utils/application/bloc/bloc
library
Classes
-
ActorDependantBloc<Event extends ActorDependantEvent, State extends Object>
-
A utility that let´s you auto subscribe to multiple ListenableBloc blocs and act on their events to perform new logic based on it
-
ActorDependantEvent
-
-
ActorDependencyDefinition<DependencyBloc extends ListenableBloc, DependencyBlocEvent, ActorDependantEvent, ActorDependantState>
-
-
ActorGeneralDependencyDefinition<DependencyBloc extends ListenableBloc, DependencyBlocEvent, ActorDependantEvent, ActorDependantState>
-
-
ActorRepoServiceDependencyDefinition<DependencyBloc extends RepoServiceBloc<Enum>, GroupEvent, ActorDependantEvent, ActorDependantState>
-
-
BasicHttpRequestRepoServiceConfiguration<ResultDataType, ExecutorParams extends Object?>
-
-
ConfigurationNotFoundFailure<GroupEvent extends Enum>
-
-
GenericRepoServiceConfiguration<ResultDataType, ExecutorParams extends Object?>
-
-
GroupStateNotFoundFailure<GroupEvent extends Enum>
-
-
HttpFromBaseRequestRepoServiceConfiguration<ResultDataType, ExecutorParams extends Object?>
-
-
ListenableBloc<Event, State>
-
-
RepoServiceBloc<GroupEvent extends Enum>
-
RepoServiceBloc Is a Helper class intended to be extended by you and help get rid of
a lot of boilerplate that otherwise you would be required to implement yourself
-
RepoServiceBlocEvent<GroupEvent extends Enum>
-
The events dispatched by the RepoServiceBloc bloc
-
RepoServiceBlocState<GroupEvent extends Enum>
-
-
RepoServiceConfiguration<ResultDataType, ExecutorParams extends Object?>
-
-
RepoServiceEventHandler<GroupEvent extends Enum>
-
Typedefs
-
DependencyHandlerFunction<DependencyBlocEvent, ActorDependantEvent, ActorDependantState>
= FutureOr<void> Function(DependencyBlocEvent dependencyBlocEvent, Emitter<ActorDependantState> emit, ActorDependantState state, void add(ActorDependantEvent event))
-
-
GenericMapperFunction<ExecutorParams extends Object?, ResultDataType>
= Future<Either<Failure, ResultDataType>> Function(ExecutorParams params)
-
-
RepoServiceEventHandlerFn<GroupEvent extends Enum, State>
= void Function(RepoServiceBlocEvent<GroupEvent> event, Emitter<State> emit, State state, void execute(GroupEvent group, {String? key, dynamic params}))
-
-
RequestMapperFunction<ExecutorParams extends Object?>
= FutureOr<BaseRequest> Function(ExecutorParams params)
-
-
UriMapperFunction<ExecutorParams extends Object?>
= FutureOr<Uri> Function(ExecutorParams params)
-