ServiceInfo class Null safety

Represents a network service.

Constructors

ServiceInfo({String? name, String? type, String? host, int? port, Map<String, Uint8List?>? txt})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
host String?
final
name String?
final
port int?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
txt Map<String, Uint8List?>?
Represents DNS TXT records. [...]
final
type String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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