import 'package:equatable/equatable.dart';

/// The AppVersionState class that represents app version-related states.
abstract class AppVersionState extends Equatable {
  const AppVersionState();

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

/// The AppVersionInitial class that represents the initial app version state.
class AppVersionInitial extends AppVersionState {}

/// The AppVersionLoaded class that represents the app version loaded state.
class AppVersionLoaded extends AppVersionState {
  final String version;

  const AppVersionLoaded(this.version);

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

/// The AppVersionError class that represents the app version error state.
class AppVersionError extends AppVersionState {
  final String message;

  const AppVersionError(this.message);

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