BonsoirDiscoveryEvent class

A Bonsoir discovery event.

Inheritance

Constructors

BonsoirDiscoveryEvent({required BonsoirDiscoveryEventType type, BonsoirService? service})
Creates a new Bonsoir discovery event.
const
BonsoirDiscoveryEvent.fromJson(Map<String, dynamic> json)
Creates a new Bonsoir discovery event from the given JSON map.

Properties

hashCode int
The hash code for this object.
no setterinherited
isServiceResolved bool
Returns whether the provided service is a resolved service.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service BonsoirService?
The Bonsoir service (if any).
finalinherited
type BonsoirDiscoveryEventType
The event type.
finalinherited

Methods

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