Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class NotificationState extends Equatable {
const NotificationState();
List<Object> get props => [];
class StartUpNotificationState extends NotificationState {}
class IndexedNotification extends NotificationState {
final int index;
List<Object> get props => [this.index];
bool operator ==(Object other) => false;
int get hashCode => super.hashCode;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment