mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-09-06 20:16:56 +00:00
30 lines
649 B
Dart
30 lines
649 B
Dart
|
part of 'server_detailed_info_cubit.dart';
|
||
|
|
||
|
abstract class ServerDetailsState extends Equatable {
|
||
|
const ServerDetailsState();
|
||
|
|
||
|
@override
|
||
|
List<Object> get props => [];
|
||
|
}
|
||
|
|
||
|
class ServerDetailsInitial extends ServerDetailsState {}
|
||
|
|
||
|
class ServerDetailsLoading extends ServerDetailsState {}
|
||
|
|
||
|
class ServerDetailsNotReady extends ServerDetailsState {}
|
||
|
|
||
|
class Loading extends ServerDetailsState {}
|
||
|
|
||
|
class Loaded extends ServerDetailsState {
|
||
|
final HetznerServerInfo serverInfo;
|
||
|
final DateTime checkTime;
|
||
|
|
||
|
Loaded({
|
||
|
required this.serverInfo,
|
||
|
required this.checkTime,
|
||
|
});
|
||
|
|
||
|
@override
|
||
|
List<Object> get props => [serverInfo, checkTime];
|
||
|
}
|