Layer class

Constructors

Layer({EventBus? top, required EventBus current, EventBus? bottom})

Properties

bottom ↔ EventBus?
For send/recive event from bottom layer
getter/setter pair
current ↔ EventBus
eventbus for local layer use
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
top ↔ EventBus?
For send/recive event from top layer
getter/setter pair

Methods

close() → Future<void>
Releases the layer resources: closes both isolate links and the local bus. Works in any layer and is safe to call twice.
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