Skip to content

Instantly share code, notes, and snippets.

@alperefesahin
Created April 21, 2023 23:00
Show Gist options
  • Save alperefesahin/669844dd227179fbac09e0cd1d7532a9 to your computer and use it in GitHub Desktop.
Save alperefesahin/669844dd227179fbac09e0cd1d7532a9 to your computer and use it in GitHub Desktop.
import 'package:equatable/equatable.dart';
abstract class NotificationEvent extends Equatable {
const NotificationEvent();
@override
List<Object> get props => [];
}
class InitNotificationEvent extends NotificationEvent {
const InitNotificationEvent(this.title);
final String title;
@override
List<Object> get props => [title];
}
class ScheduleDailyAtTimeEvent extends NotificationEvent {
@override
List<Object> get props => [];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment