// video_state.dart
import 'package:equatable/equatable.dart';
import 'package:tanami_app/features/MainScreens/Invest/domain/model/detail_io_model.dart';

abstract class IODetailsState extends Equatable {
  const IODetailsState();

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

class IODetailsStateInitial extends IODetailsState {}

class IODetailsStateLoading extends IODetailsState {}

class IODetailsStateLoaded extends IODetailsState {
  final DetailIOModel detailIOModel;

  const IODetailsStateLoaded(this.detailIOModel);

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

class IODetailsError extends IODetailsState {
  final String message;

  const IODetailsError(this.message);

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