part of 'space_details_bloc.dart';

sealed class SpaceDetailsState extends Equatable {
  const SpaceDetailsState();

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

final class SpaceDetailsInitial extends SpaceDetailsState {}

final class SpaceDetailsLoading extends SpaceDetailsState {}

final class SpaceDetailsLoaded extends SpaceDetailsState {
  final SpaceDetailsModel spaceDetails;

  const SpaceDetailsLoaded(this.spaceDetails);

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

final class SpaceDetailsFailure extends SpaceDetailsState {
  final String message;

  const SpaceDetailsFailure(this.message);

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