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 {
|
2024-07-29 22:47:27 +00:00
|
|
|
const ServerLogsFetch({this.serviceId});
|
|
|
|
|
|
|
|
final String? serviceId;
|
|
|
|
|
2024-07-24 14:22:12 +00:00
|
|
|
@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 => [];
|
|
|
|
}
|