LayerSpec class

The description of one layer in a Layers chain.

init runs inside that layer's isolate and must be top-level/static. initialData is passed to it unchanged. isModelBus applies to that layer's local Layer.current bus.

Constructors

LayerSpec({required LayerInit init, Object? initialData, bool isModelBus = false})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
init → LayerInit
final
initialData → Object?
final
isModelBus → bool
final
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
toString() → String
A string representation of this object.
inherited

Operators

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