Address class abstract
Base class for all addresses. Encoded addresses for sub-classes are provided via the toString() method.
- Implementers
Constructors
- Address.fromString(String encoded, Network network)
-
Decodes an address string (
encoded
) and returns the sub-class object for the type of address. Throws InvalidAddress, InvalidAddressNetwork, InvalidBech32Checksum or InvalidBase58Checksum if there is an error with the address. The address must match thenetwork
provided.factory
Properties
Methods
-
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.
inherited