part of 'posts_cubit.dart';

sealed class PostsState extends Equatable {
  const PostsState();

  @override
  List<Object> get props => [];
}

final class PostsInitial extends PostsState {}

final class PostsLoading extends PostsState {}

final class PostsFail extends PostsState {}

final class PostsSuccess extends PostsState {
  final List<PostsModel> posts;

  const PostsSuccess({required this.posts});
}
