import '../infrastructure/local/app_database.dart'; final class AppBootstrap { AppBootstrap._({required this.database}); final AppDatabase database; static Future create() async { final database = AppDatabase.open(); await database.customSelect('SELECT 1').get(); return AppBootstrap._(database: database); } Future dispose() => database.close(); }