stack_wallet/lib/services/mixins/wallet_db.dart
2023-03-01 15:52:13 -06:00

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