FlutterSecureStorageWalletsRepo class
- Inheritance
-
- Object
- WalletsRepo
- FlutterSecureStorageWalletsRepo
Constructors
- FlutterSecureStorageWalletsRepo({FlutterSecureStorage? storage})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDefaultWalletIdForReceiving(
) → String? -
Get default wallet for sending funds (e.g. for paying invoices)
override
-
getDefaultWalletIdForSending(
) → String? -
Get default wallet for receiving funds (e.g. for generating invoices)
override
-
getTransactions(
{int? limit, int? offset, String? walletId, String? unit, WalletType? walletType}) → Future< List< WalletTransaction> > -
Get transactions with optional filtering
override
-
getWallet(
String id) → Future< Wallet> -
Get a specific wallet by ID
inherited
-
getWallets(
{List< String> ? ids}) → Future<List< Wallet> > -
Get wallets by id
return all if
idsis nulloverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeTransactions(
List< String> ? transactionIds) → Future<void> -
Remove transactions by ID
should only be used for deleting a wallet
if
transactionIdsis null, all transactions for the wallet should be removed!override -
removeWallet(
String id) → Future< void> -
Remove a wallet by ID
override
-
saveTransactions(
List< WalletTransaction> transactions) → Future<void> -
Save transactions to storage
override
-
setDefaultWalletForReceiving(
String? walletId) → void -
Set default wallet for receiving funds (e.g. for generating invoices)
override
-
setDefaultWalletForSending(
String? walletId) → void -
Set default wallet for sending funds (e.g. for paying invoices)
override
-
storeWallet(
Wallet wallet) → Future< void> -
Store a wallet
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited