mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-08 01:43:13 +00:00
23 lines
619 B
Dart
23 lines
619 B
Dart
part of 'server_jobs_cubit.dart';
|
|
|
|
class ServerJobsState extends ServerInstallationDependendState {
|
|
const ServerJobsState({
|
|
this.serverJobList = const [],
|
|
this.migrationJobUid,
|
|
});
|
|
final List<ServerJob> serverJobList;
|
|
final String? migrationJobUid;
|
|
|
|
@override
|
|
List<Object?> get props => [migrationJobUid, ...serverJobList];
|
|
|
|
ServerJobsState copyWith({
|
|
final List<ServerJob>? serverJobList,
|
|
final String? migrationJobUid,
|
|
}) =>
|
|
ServerJobsState(
|
|
serverJobList: serverJobList ?? this.serverJobList,
|
|
migrationJobUid: migrationJobUid ?? this.migrationJobUid,
|
|
);
|
|
}
|