stack_wallet/lib/services/mixins/wallet_db.dart
2024-01-11 17:36:13 -06:00

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;
}
}