part of 'plot_parameter_bloc.dart'; abstract class PlotParameterState extends Equatable { const PlotParameterState(); @override List get props => []; } class PlotParameterInitial extends PlotParameterState {} class PlotParameterLoading extends PlotParameterState {} class PlotParameterFailure extends PlotParameterState { final String errorString; PlotParameterFailure({required this.errorString}); } class PlotParameterSuccess extends PlotParameterState { final List items; final int page; final bool hasReachedMax; const PlotParameterSuccess({required this.items, required this.page, required this.hasReachedMax}); PlotParameterSuccess copyWith({List? items, required int page, bool? hasReachedMax}) { return PlotParameterSuccess(items: items ?? this.items, page: page ?? this.page, hasReachedMax: hasReachedMax ?? this.hasReachedMax); } @override List get props => [items, hasReachedMax]; }