Address class

The Address scalar type represents a transaction's address.

The Address appears in a JSON response as Base16 formatted string. The parsed address will be converted to a binary and any invalid address with an invalid algorithm or invalid size will be rejected

Annotations
  • @freezed

Constructors

Address({String? address})
const
factory

Properties

address String?
no setterinherited
copyWith → $AddressCopyWith<Address>
Create a copy of Address with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isValid() bool
Verify the structure of an address
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