WalletAccount class

Constructors

WalletAccount({int? createdAt, String? id, String? name, String? org})
Returns a new WalletAccount instance.

Properties

createdAt ↔ int?
CreatedAt is when the account was opened, Unix seconds. Listings order by it, newest first.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the account id, minted by the server as "acct_" + 24 hex. Wallets name it as their accountId, and it becomes a segment of each of their key refs — so it addresses key material and cannot be reassigned.
getter/setter pair
name ↔ String?
Name is the label given at creation, trimmed and required. It groups wallets: it is not a key, holds no balance, and is not unique in the org.
getter/setter pair
org ↔ String?
Org is the tenant that owns the account, stamped from the validated principal rather than taken from the request. Every read is physically scoped to it, so another tenant's accounts are not reachable at all.
getter/setter pair
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → WalletAccount?
Returns a new WalletAccount instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<WalletAccount>
mapFromJson(dynamic json) → Map<String, WalletAccount>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<WalletAccount>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.