M4eWallet class

Exposes SDK Wallet Api methods

Accessing the instantiated m4eWallet methods is done by:

Instantiating as a regular object

final _m4eWallet = M4eWallet();

await _m4eWallet.getUserWallets();

Constructors

M4eWallet({WalletApi walletApi, DataConnectionChecker connectionChecker })

Properties

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

getUserWallets(UniqueId userId) Future<List<Wallet>>
Returns current m4e authenticated user Wallets from m4e when connected to the internet or local cache (if exist) on no-internet-connectivity [...]
getWalletsWithUserId(UniqueId userId) Future<List<Wallet>>
Returns m4e user Wallets with specified user-id from m4e when connected to the internet or local cache (if exist) on no-internet-connectivity [...]
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