AnOutput<F extends Failure, S extends Model> class
abstract
AnOutput
An interface boundary implemented by a presenter that receive Either
response from Interactor.
An Interactor requires a AnOutput
The Either
response will give the intended Model
object of Failure
object.
The Interactor calls present of the output object with new response each time a request is made to it.
Constructors
- AnOutput()
-
const
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
present(
Either< F, S> response) → void - Presents the response
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited