modules/common_utils/application/bloc/repo_service_bloc/repo_service_bloc library
Classes
-
BasicHttpRequestRepoServiceConfiguration<
ResultDataType, ExecutorParams extends Object?> -
ConfigurationNotFoundFailure<
GroupEvent extends Enum> -
GenericRepoServiceConfiguration<
ResultDataType, ExecutorParams extends Object?> -
GroupStateNotFoundFailure<
GroupEvent extends Enum> -
HttpFromBaseRequestRepoServiceConfiguration<
ResultDataType, ExecutorParams extends Object?> -
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
-
GenericMapperFunction<
ExecutorParams extends Object?, ResultDataType> = Future< Either< Function(ExecutorParams params)Failure, ResultDataType> > -
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)
Exceptions / Errors
-
ConfigurationNotDefinedForGroup<
GroupEvent extends Enum> -
InitialStateNotDefinedForGroup<
GroupEvent extends Enum>