mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-05 20:07:44 +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;
|
|
}
|
|
}
|