2023-05-26 21:21:16 +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
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2024-05-23 00:37:06 +00:00
|
|
|
import '../../db/isar/main_db.dart';
|
2023-01-12 18:46:01 +00:00
|
|
|
|
2024-01-11 23:36:13 +00:00
|
|
|
@Deprecated("Legacy support")
|
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
|
|
|
|
2024-01-11 23:36:13 +00:00
|
|
|
@Deprecated("Legacy support")
|
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
|
|
|
}
|
|
|
|
}
|