part of 'replies_cubit.dart';

sealed class RepliesState extends Equatable {
  final List<Comment> replies;
  final int page;
  final int? lastPage;

  const RepliesState({this.replies = const [], this.lastPage, this.page = 1});
  @override
  List<Object> get props => [replies, page, lastPage ?? 0];
}

final class RepliesInitial extends RepliesState {}

final class RepliesLoading extends RepliesState {
  const RepliesLoading(
      {required super.replies, required super.lastPage, required super.page});
}

final class RepliesSuccess extends RepliesState {
  const RepliesSuccess(
      {required super.replies, required super.lastPage, required super.page});
}

final class RepliesFail extends RepliesState {}
