MachineLayerType<Event, Input, Output> class
abstract
A general abstract class that describes a type that represents a layer object. Contains a machine that receives mapped input and emits output that is reduced into application's state.
Constructors
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
-
machine(
) → Machine< Input, Output> - A machine that receives mapped input and emits output that is reduced into application's state.
-
mapInput(
Event event) → dynamic - A mapper that maps application's event into layer input and sends it into machine.
-
mapOutput(
Output output) → dynamic - A mapper that receives machine's output and maps it into application's event.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited