Gateway<M extends DomainModel, R extends Request, P extends SuccessResponse, S extends SuccessDomainInput> class abstract

Implementers

Constructors

Gateway()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach(ProviderRef<Object> ref, {required List<UseCaseProviderBase<Entity, UseCase<Entity>>> providers, List<UseCaseProviderFamilyBase<Entity, UseCase<Entity>, Object>> families = const []}) → void
buildInput(M domainModel) Future<Either<FailureDomainInput, S>>
buildRequest(M domainModel) → R
feedResponse(Responder<R, P> feeder, {Type? source}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFailure(covariant FailureResponse failureResponse) FailureDomainInput
onSuccess(covariant P response) → S
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited