import 'package:equatable/equatable.dart';
import 'package:syncrow_web/pages/spaces_management/all_spaces/model/space_model.dart';

abstract class CreateRoutineEvent extends Equatable {
  const CreateRoutineEvent();

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

class AddToIfContainer extends CreateRoutineEvent {
  final SpaceModel spaceModel;

  const AddToIfContainer(this.spaceModel);

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

class SpaceOnlyWithDevicesEvent extends CreateRoutineEvent {
  final String communityID;
  const SpaceOnlyWithDevicesEvent(this.communityID);

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

class SaveCommunityIdAndSpaceIdEvent extends CreateRoutineEvent {
  final String? communityID;
  final String? spaceID;

  const SaveCommunityIdAndSpaceIdEvent({this.communityID, this.spaceID});

  @override
  List<Object> get props => [communityID!, spaceID!];
}

class ResetSelectedEvent extends CreateRoutineEvent {
  const ResetSelectedEvent();

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


