mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-22 13:57:29 +01:00
14 lines
316 B
Dart
14 lines
316 B
Dart
import 'package:objectbox/objectbox.dart';
|
|
|
|
abstract class DatabaseEvent {
|
|
const DatabaseEvent();
|
|
}
|
|
|
|
class ConnectedToDatabase extends DatabaseEvent {
|
|
final Store database;
|
|
const ConnectedToDatabase(this.database);
|
|
}
|
|
|
|
class DisconnectedFromDatabase extends DatabaseEvent {
|
|
const DisconnectedFromDatabase();
|
|
} |