AccountIdentifier class
The account identifier uniquely identifies an account within a network. All fields in the AccountIdentifier are utilized to determine this uniqueness (including the metadata field, if populated).
- Annotations
-
- @immutable
Constructors
-
AccountIdentifier(String address, SubAccountIdentifier? subAccount, Map<
String, dynamic> ? metadata) -
const
-
AccountIdentifier.fromJson(Map<
String, dynamic> map) -
factory
Properties
- address → String
-
The address may be a cryptographic public key (or some encoding of it)
or a provided username.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> ? -
Blockchains that utilize a username model
(where the address is not a derivative of a cryptographic public key)
should specify the public key(s) owned by the address in metadata.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subAccount → SubAccountIdentifier?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited