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();
|
|
} |