clean_framework_legacy library

Clean Framework v1 (Legacy)

Classes

AppProvidersContainer
A container that holds all the app providers.
BridgeGateway<SUBSCRIBER_MODEL extends DomainModel, PUBLISHER_MODEL extends DomainModel, SUBSCRIBER_INPUT extends DomainInput>
BridgeGatewayProvider<G extends BridgeGateway<DomainModel, DomainModel, DomainInput>>
CleanFrameworkObserver
The class to observe failures, route changes and other events.
Deserializer
DomainInput
Used for the transfer of data into the domain layer (use case) from external layers, services, etc.
DomainInputTransformer<E extends Entity, I extends DomainInput>
DomainModel
Represents the state of the domain (or part of the domain) at a particular point in time. Used for the transfer of data from the domain layer to other layers.
DomainModelTransformer<E extends Entity, M extends DomainModel>
Either<L, R>
Either represents a value of two possible types. An Either is either an Either.left or an Either.right.
Entity
Represents the current state of the domain layer (use case).
EvaluationContext
ExternalInterface<R extends Request, S extends SuccessResponse>
ExternalInterfaceProvider<I extends ExternalInterface<Request, SuccessResponse>>
FailureDomainInput
Used for the transfer of data into the domain layer (use case) after some failure response.
FailureInput
FailureResponse
FailureUseCaseInput<S extends SuccessDomainInput>
FeatureBuilder<T extends Object>
FeatureClient
FeatureProvider
FeatureScope<T extends FeatureProvider>
FlagEvaluationOptions
Gateway<M extends DomainModel, R extends Request, P extends SuccessResponse, S extends SuccessDomainInput>
GatewayProvider<G extends Gateway<DomainModel, Request, SuccessResponse, SuccessDomainInput>>
Hook<T extends Object>
HookContext<T extends Object>
HookHints<T extends Object>
Input
InputTransformer<E extends Entity, I extends DomainInput>
NetworkLogger
OpenFeature
Output
OutputTransformer<E extends Entity, M extends DomainModel>
Presenter<V extends ViewModel, M extends DomainModel, U extends UseCase<Entity>>
ProvidersContext
A class to hold the ProviderContainer.
Request
ResolutionDetails<T>
Response
SuccessDomainInput
Used for the transfer of data into the domain layer (use case) after some success response.
SuccessInput
SuccessResponse
SuccessUseCaseInput<S extends SuccessDomainInput>
TypedFailureResponse<T extends Object>
UI<V extends ViewModel>
UnknownFailureResponse
UseCase<E extends Entity>
UseCaseInput<S extends SuccessDomainInput>
UseCaseProvider<E extends Entity, U extends UseCase<E>>
UseCaseTransformer<E extends Entity>
ViewModel
WatcherGateway<M extends DomainModel, R extends Request, P extends SuccessResponse, S extends SuccessDomainInput>

Enums

ErrorCode
Different error codes that can be returned by the FeatureProvider.
FlagValueType
The value type of a flag.
Reason

Properties

logger Logger
Logger initialized for CleanFrameworkObserver.
no setter

Typedefs

ContainerBuildCallback = void Function(BuildContext, ProvidersContext)
DomainInputFilterMap<E extends Entity> = Map<Type, DomainInputProcessor<E>>
DomainInputProcessor<E extends Entity> = E Function(dynamic, E)
DomainModelBuilder<E extends Entity> = DomainModel Function(E)
DomainModelFilterMap<E extends Entity> = Map<Type, DomainModelBuilder<E>>
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<DomainModel, Request, SuccessResponse, SuccessDomainInput>> = G Function()
InputCallback<E extends Entity, I extends DomainInput> = E Function(I)
Left<L, R> = _Left<L, R>
PresenterBuilder<V extends ViewModel> = Widget Function(V viewModel)
PresenterCreator<V extends ViewModel> = Presenter<ViewModel, DomainModel, UseCase<Entity>> Function(PresenterBuilder<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<M extends DomainModel, I extends DomainInput> = Result<I> Function(M)
RequestSubscriptionMap<I extends DomainInput> = Map<Type, RequestSubscription<DomainModel, I>>
ResponseSender<S extends SuccessResponse> = void Function(S response)
Result<I extends DomainInput> = FutureOr<Either<FailureDomainInput, I>>
Transport<R extends Request, P extends SuccessResponse> = Future<Either<FailureResponse, P>> Function(R request)
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