2023-05-26 16:33:04 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Stack Wallet.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2023 Cypher Stack
|
|
|
|
* All Rights Reserved.
|
|
|
|
* The code is distributed under GPLv3 license, see LICENSE file for details.
|
|
|
|
* Generated by Cypher Stack on 2023-05-26
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-03-01 21:52:13 +00:00
|
|
|
import 'package:stackwallet/db/isar/main_db.dart';
|
2023-01-12 18:46:01 +00:00
|
|
|
|
|
|
|
mixin WalletDB {
|
2023-01-19 20:33:23 +00:00
|
|
|
MainDB? _db;
|
|
|
|
MainDB get db => _db!;
|
2023-01-12 18:46:01 +00:00
|
|
|
|
2023-01-20 21:57:54 +00:00
|
|
|
void initWalletDB({MainDB? mockableOverride}) async {
|
2023-01-19 20:33:23 +00:00
|
|
|
_db = mockableOverride ?? MainDB.instance;
|
2023-01-12 18:46:01 +00:00
|
|
|
}
|
|
|
|
}
|