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({this.items, this.page, this.hasReachedMax}); PlotParameterSuccess copyWith({ List? items, int? page, bool? hasReachedMax, }) { return PlotParameterSuccess( items: items ?? this.items, page: page ?? this.page, hasReachedMax: hasReachedMax ?? this.hasReachedMax, ); } // @override // List get props => [items, hasReachedMax]; }