NetworkDefaults class final

Default network parameters

Constructors

NetworkDefaults({required List<String> bind, required bool portForwardingEnabled, required bool localDiscoveryEnabled})

Properties

bind → List<String>
Default addresses to bind to
final
hashCode → int
The hash code for this object.
no setteroverride
localDiscoveryEnabled → bool
Is local discovery enabled by default?
final
portForwardingEnabled → bool
Is port forwarding (UPnP) enabled by default?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode(Packer p) → void
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.
override

Static Methods

decode(Unpacker u) → NetworkDefaults?