mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-06 04:17:42 +00:00
22 lines
515 B
Dart
22 lines
515 B
Dart
/*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
import 'package:stackwallet/db/isar/main_db.dart';
|
|
|
|
@Deprecated("Legacy support")
|
|
mixin WalletDB {
|
|
MainDB? _db;
|
|
MainDB get db => _db!;
|
|
|
|
@Deprecated("Legacy support")
|
|
void initWalletDB({MainDB? mockableOverride}) async {
|
|
_db = mockableOverride ?? MainDB.instance;
|
|
}
|
|
}
|