part of 'update_space_bloc.dart';

sealed class UpdateSpaceState extends Equatable {
  const UpdateSpaceState();

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

final class UpdateSpaceInitial extends UpdateSpaceState {}

final class UpdateSpaceLoading extends UpdateSpaceState {}

final class UpdateSpaceSuccess extends UpdateSpaceState {
  final SpaceDetailsModel space;

  const UpdateSpaceSuccess(this.space);

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

final class UpdateSpaceFailure extends UpdateSpaceState {
  final String message;

  const UpdateSpaceFailure(this.message);

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