Multiaddr class
Multiaddr is a format for encoding addresses from various well-established network protocols.
It is useful to write applications that future-proof their use of addresses, and allow multiple transport protocols and addresses to coexist. Read more: multiaddr
Constructors
-
Multiaddr(List<
Component> components) - Multiaddr.fromString(String addr)
-
factory
- Multiaddr.fromUint8List(Uint8List addr)
-
factory
Properties
-
components
→ List<
Component> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
toUint8List(
) → Uint8List
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override