BonsoirAction<T extends BonsoirEvent> class abstract

This class serves as the stream source for the implementations to override.

Implementers

Constructors

BonsoirAction()

Properties

eventStream Stream<T>?
The event stream. Subscribe to it to receive this instance updates.
no setter
hashCode int
The hash code for this object.
no setterinherited
isReady bool
This returns whether the platform is ready for this action.
no setter
isStopped bool
This returns whether the platform has discarded this action.
no setter
ready Future<void>
The ready getter, that returns when the platform is ready for the operation requested. Await this method to know when the plugin will be ready.
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>
This starts the required action (eg. discovery, or broadcast).
stop() Future<void>
This stops the action (eg. stops discovery or broadcast).
toString() String
A string representation of this object.
inherited

Operators

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