mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-08-26 11:17:22 +08:00
19 lines
427 B
Dart
19 lines
427 B
Dart
part of 'time_machine_cubit.dart';
|
|
|
|
class TimeMachineState extends Equatable {
|
|
const TimeMachineState({required this.ancestors});
|
|
|
|
TimeMachineState.init() : ancestors = <Comment>[];
|
|
|
|
final List<Comment> ancestors;
|
|
|
|
TimeMachineState copyWith({
|
|
List<Comment>? ancestors,
|
|
}) {
|
|
return TimeMachineState(ancestors: ancestors ?? this.ancestors);
|
|
}
|
|
|
|
@override
|
|
List<Object?> get props => <Object?>[ancestors];
|
|
}
|