AppNotification class Null safety

Notification domain entity

Implementers

Constructors

AppNotification({required int id, required String title, required String? description, required DateTime dateTime, required Category category})

Properties

category Category
read / write
categoryIcon MapEntry<IconData, Color>
Map notification category to an icon and a color
read-only
dateTime DateTime
read / write
description String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id → dynamic
read-only
read bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
read / write

Methods

markAsRead() → dynamic
To mark the notification as read
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited