BonsoirActionHandler<T extends BonsoirEvent> class
Allows to handle a Bonsoir action.
- Implementers
Constructors
-
BonsoirActionHandler({required BonsoirAction<
T> action}) -
Creates a new Bonsoir discovery instance.
const
Properties
-
eventStream
→ Stream<
T> ? -
Regular event stream.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReady → bool
-
This returns whether the platform is ready for the action.
no setter
- isStopped → bool
-
Returns whether the action has been stopped.
no setter
-
ready
→ Future<
void> -
The ready getter, that returns when the platform is ready for the action.
no setter
- 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
-
start(
) → Future< void> - Starts the action.
-
stop(
) → Future< void> - Stops the action.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited