proxibuy/lib/presentation/notification_preferences/bloc/notification_preferences_ev...

19 lines
458 B
Dart

import 'package:equatable/equatable.dart';
abstract class NotificationPreferencesEvent extends Equatable {
const NotificationPreferencesEvent();
@override
List<Object> get props => [];
}
class LoadCategories extends NotificationPreferencesEvent {}
class ToggleCategorySelection extends NotificationPreferencesEvent {
final int categoryId;
const ToggleCategorySelection(this.categoryId);
@override
List<Object> get props => [categoryId];
}