Jisho-Study-Tool/lib/bloc/database/database_state.dart

15 lines
305 B
Dart
Raw Normal View History

2021-07-17 16:11:17 +02:00
import 'package:objectbox/objectbox.dart';
abstract class DatabaseState {
const DatabaseState();
}
class DatabaseConnected extends DatabaseState {
final Store database;
const DatabaseConnected(this.database);
}
class DatabaseDisconnected extends DatabaseState {
const DatabaseDisconnected();
2021-12-01 23:09:53 +01:00
}