mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-28 14:29:22 +00:00
10 lines
219 B
Dart
10 lines
219 B
Dart
import 'package:stackwallet/db/isar/main_db.dart';
|
|
|
|
mixin WalletDB {
|
|
MainDB? _db;
|
|
MainDB get db => _db!;
|
|
|
|
void initWalletDB({MainDB? mockableOverride}) async {
|
|
_db = mockableOverride ?? MainDB.instance;
|
|
}
|
|
}
|