stack_wallet/lib/services/mixins/wallet_db.dart

22 lines
501 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 '../../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;
}
}