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