BonsoirDiscovery class

Allows to run a network discovery.

Inheritance

Constructors

BonsoirDiscovery({bool printLogs = kDebugMode, required String type, ServiceResolver? serviceResolver})
Creates a new Bonsoir discovery instance.
factory

Properties

eventStream Stream<BonsoirDiscoveryEvent>?
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
serviceResolver ServiceResolver
The current service resolver.
final
type String
The type of service to find.
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