This file contains 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
class NotificationState extends Equatable { | |
const NotificationState(); | |
@override | |
List<Object> get props => []; | |
} | |
class StartUpNotificationState extends NotificationState {} | |
class IndexedNotification extends NotificationState { |
This file contains 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
class NotificationEvent { | |
//carries the payload sent for notification | |
final String payload; | |
const NotificationEvent(this.payload); | |
} | |
class NotificationErrorEvent extends NotificationEvent { |