mirrored_repositories/Number_trivia_tdd/lib/features/number_trivia/presentation
part of 'number_trivia_bloc.dart';

abstract class NumberTriviaState extends Equatable {
  const NumberTriviaState();

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

class Empty extends NumberTriviaState {}

class Loading extends NumberTriviaState {}

class Loaded extends NumberTriviaState {
  final NumberTrivia trivia;

  const Loaded({required this.trivia});
}

class Error extends NumberTriviaState {
  final String message;

  const Error({required this.message});
}
