selfprivacy.org.app/lib/logic/bloc/server_logs/server_logs_event.dart
2024-07-29 19:38:40 +03:00

30 lines
611 B
Dart

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 => [];
}