selfprivacy.org.app/lib/logic/bloc/server_logs/server_logs_event.dart

30 lines
611 B
Dart
Raw Normal View History

2024-07-24 14:22:12 +00:00
part of 'server_logs_bloc.dart';
sealed class ServerLogsEvent extends Equatable {
const ServerLogsEvent();
}
final class ServerLogsFetch extends ServerLogsEvent {
@override
List<Object> get props => [];
}
final class ServerLogsFetchMore extends ServerLogsEvent {
@override
List<Object> get props => [];
}
final class ServerLogsGotNewEntry extends ServerLogsEvent {
const ServerLogsGotNewEntry(this.entry);
final ServerLogEntry entry;
@override
List<Object> get props => [entry];
}
final class ServerLogsDisconnect extends ServerLogsEvent {
@override
List<Object> get props => [];
}