MdnsServiceRegistry class

A class that handles mDNS service registration and discovery

Constructors

MdnsServiceRegistry.new({required MDnsClient client, required String serviceName, required String domain, required String name, required int port, required List<String> txtRecords})
Creates a new MdnsServiceRegistry

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes of the registry
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register() → void
Registers the service with mDNS
toString() String
A string representation of this object.
inherited
unregister() → void
Unregisters the service

Operators

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