ProducerLayerType<Event, Input, Output> class abstract

A general abstract class that describes a type that represents a layer object that does not consume state. Contains a machine that does not receive mapped layer state as input and emits output that is reduced into application's state.

Inheritance
Implementers

Constructors

ProducerLayerType()

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.
inherited
mapInput(Event event) → dynamic
from MachineLayerType
override
mapOutput(Output output) → dynamic
A mapper that receives machine's output and maps it into application's event.
inherited
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