mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2025-01-22 10:24:46 +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();
|
|
} |