Created
April 21, 2023 23:00
-
-
Save FlutterWiz/669844dd227179fbac09e0cd1d7532a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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