part of 'update_community_bloc.dart';

sealed class UpdateCommunityState extends Equatable {
  const UpdateCommunityState();

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

final class UpdateCommunityInitial extends UpdateCommunityState {}

final class UpdateCommunityLoading extends UpdateCommunityState {}

final class UpdateCommunitySuccess extends UpdateCommunityState {
  final CommunityModel community;

  const UpdateCommunitySuccess(this.community);

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

final class UpdateCommunityFailure extends UpdateCommunityState {
  final String message;

  const UpdateCommunityFailure(this.message);

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