Wallet class

Constructors

Wallet(String name, { String version: '1.0', String createTime, ScryptParams scrypt })
Wallet.fromJson(Map<String, dynamic> json)

Properties

accounts ↔ List<Account>
read / write
createTime ↔ String
read / write
defaultAccountAddress ↔ String
read / write
defaultOntid ↔ String
read / write
extra ↔ String
read / write
identities ↔ List<Identity>
read / write
name ↔ String
read / write
scrypt ScryptParams
read / write
version ↔ String
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addAccount(Account acc) → dynamic
addIdentity(Identity id) → dynamic
deleteAccount(Account acc) → dynamic
deleteIdentity(Identity id) → dynamic
hasAccount(Account target) → bool
hasIdentity(Identity target) → bool
setDefaultAccount(String addr) → dynamic
toJson() → Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited