mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-14 12:43:16 +00:00
30 lines
611 B
Dart
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 => [];
|
||
|
}
|