clean_framework_legacy library
Clean Framework v1 (Legacy)
Classes
- AppProvidersContainer
- A container that holds all the app providers.
-
BridgeGateway<
SUBSCRIBER_OUTPUT extends Output, PUBLISHER_OUTPUT extends Output, SUBSCRIBER_INPUT extends Input> -
BridgeGatewayProvider<
G extends BridgeGateway< Output, Output, Input> > - CleanFrameworkObserver
- The class to observe failures, route changes and other events.
- Deserializer
-
Either<
L, R> - Either represents a value of two possible types. An Either is either an Either.left or an Either.right.
- Entity
- EvaluationContext
-
ExternalInterface<
R extends Request, S extends SuccessResponse> -
ExternalInterfaceProvider<
I extends ExternalInterface< Request, SuccessResponse> > -
Failure<
S extends SuccessInput> - FailureInput
- FailureResponse
-
FeatureBuilder<
T extends Object> - FeatureClient
- FeatureProvider
-
FeatureScope<
T extends FeatureProvider> - FlagEvaluationOptions
-
Gateway<
O extends Output, R extends Request, P extends SuccessResponse, S extends SuccessInput> -
GatewayProvider<
G extends Gateway< Output, Request, SuccessResponse, SuccessInput> > -
Hook<
T extends Object> -
HookContext<
T extends Object> -
HookHints<
T extends Object> - Input
-
InputTransformer<
E extends Entity, I extends Input> - NetworkLogger
- OpenFeature
- Output
-
OutputTransformer<
E extends Entity, O extends Output> -
Presenter<
V extends ViewModel, O extends Output, U extends UseCase< Entity> > - ProvidersContext
- A class to hold the ProviderContainer.
- Request
-
ResolutionDetails<
T> - Response
-
Success<
S extends SuccessInput> - SuccessInput
- SuccessResponse
-
TypedFailureResponse<
T extends Object> -
UI<
V extends ViewModel> - UnknownFailureResponse
-
UseCase<
E extends Entity> -
UseCaseInput<
S extends SuccessInput> -
UseCaseProvider<
E extends Entity, U extends UseCase< E> > -
UseCaseTransformer<
E extends Entity> - ViewModel
-
WatcherGateway<
O extends Output, R extends Request, P extends SuccessResponse, S extends SuccessInput>
Enums
- ErrorCode
- Different error codes that can be returned by the FeatureProvider.
- FlagValueType
- The value type of a flag.
- Reason
Mixins
Extensions
Typedefs
- ContainerBuildCallback = void Function(BuildContext, ProvidersContext)
-
EitherMapper<
T, E> = T Function(E) - Signature for a function that maps either the left or the right side of this disjunction.
-
FeatureBuilderCallback<
T extends Object> = Widget Function(BuildContext, T) -
GatewayConnection<
G extends Gateway< Output, Request, SuccessResponse, SuccessInput> > = G Function() -
InputCallback<
E extends Entity, I extends Input> = E Function(I) -
InputFilterMap<
E extends Entity> = Map< Type, InputProcessor< E> > -
InputProcessor<
E extends Entity> = E Function(dynamic, E) -
Left<
L, R> = _Left< L, R> -
OutputBuilder<
E extends Entity> = Output Function(E) -
OutputFilterMap<
E extends Entity> = Map< Type, OutputBuilder< E> > -
PresenterBuilder<
V extends ViewModel> = Widget Function(V viewModel) -
PresenterCreator<
V extends ViewModel> = Presenter< ViewModel, Output, UseCase< Function(PresenterBuilder<Entity> >V> builder) -
ProviderListener<
E extends Entity> = void Function(E entity) -
RequestHandler<
E extends Request, S extends SuccessResponse> = FutureOr< void> Function(E request, ResponseSender<S> send) -
RequestSubscription<
O extends Output, I extends Input> = Result< I> Function(O) -
RequestSubscriptionMap<
I extends Input> = Map< Type, RequestSubscription< Output, I> > -
ResponseSender<
S extends SuccessResponse> = void Function(S response) -
Result<
I extends Input> = FutureOr< Either< FailureInput, I> > -
Right<
L, R> = _Right< L, R> -
Transport<
R extends Request, P extends SuccessResponse> = Future< Either< Function(R request)FailureResponse, P> > -
UIBuilder<
V extends ViewModel> = Widget Function(BuildContext context, V viewModel)
Exceptions / Errors
- FlagNotFoundException
- NoSuchElementException
- Exception that indicates the element being requested does not exist.
- OpenFeatureException
- ParseException
- TypeMismatchException