mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-22 13:57:29 +01:00
15 lines
305 B
Dart
15 lines
305 B
Dart
|
|
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();
|
|
} |