Account class
Account
A wallet account.
Constructors
- Account({required String address, required String? label})
-
Wallet account information.
const
- Account.fromBase58(String address, {String? label})
-
Creates an Account from a base-58
address
.factory -
Account.fromJson(Map<
String, dynamic> json) -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBase58(
) → String - Returns the base-64 address as a base-58 encoded string.
-
toJson(
) → Map< String, dynamic> -
Serialises
this
class into a JSON object. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override
Static Methods
-
tryFromBase58(
String? address, {String? label}) → Account? -
Creates an Account from a base-58
address
. -
tryFromJson(
Map< String, dynamic> ? json) → Account? -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.