FullAddress class

Represents a network address (IP + Port). Replaces p2plib.FullAddress.

Constructors

FullAddress({required String address, required int port})
Creates a FullAddress with the given address and port.
const

Properties

address → String
The IP address of the peer (string representation).
final
hashCode → int
The hash code for this object.
no setterinherited
port → int
The port number of the peer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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