BonsoirBroadcast class

Allows to broadcast a service on the network.

Inheritance

Constructors

BonsoirBroadcast({bool printLogs = kDebugMode, required BonsoirService service})
Creates a new Bonsoir broadcast instance.

Properties

eventStream Stream<BonsoirBroadcastEvent>?
Regular event stream.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isReady bool
This returns whether the platform is ready for the action.
no setterinherited
isStopped bool
Returns whether the action has been stopped.
no setterinherited
ready Future<void>
The ready getter, that returns when the platform is ready for the action.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service BonsoirService
The service to broadcast.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
Starts the action.
inherited
stop() Future<void>
Stops the action.
inherited
toString() String
A string representation of this object.
inherited

Operators

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