Created
June 16, 2020 17:12
-
-
Save harshsoni1110/a05b44109fbca7a20063214a7db09775 to your computer and use it in GitHub Desktop.
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 { | |
final int index; | |
IndexedNotification(this.index); | |
@override | |
List<Object> get props => [this.index]; | |
@override | |
bool operator ==(Object other) => false; | |
@override | |
int get hashCode => super.hashCode; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment