stack_wallet/lib/services/mixins/wallet_db.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;
}
}