owntracks-viewer/lib/user_path_event.dart

27 lines
568 B
Dart
Raw Normal View History

2024-03-12 20:41:04 +00:00
part of 'user_path_bloc.dart';
@immutable
abstract class UserPathEvent {}
final class UserPathLoginDataChanged extends UserPathEvent {
UserPathLoginDataChanged(this.newSettings);
final SettingsState newSettings;
}
final class UserPathTimeChanged extends UserPathEvent {
UserPathTimeChanged({this.from, this.to});
final DateTime? from;
final DateTime? to;
}
final class UserPathLiveSubscriptionUpdate extends UserPathEvent {
UserPathLiveSubscriptionUpdate(this.point);
final Point point;
}
final class UserPathFullUpdate extends UserPathEvent {}