AppNotificationItem class

Notification payload model.

Constructors

AppNotificationItem({required int id, required String title, required String body, String? payload, DateTime? scheduledAt})
const

Properties

body → String
Notification description or message body.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
Unique notification ID.
final
payload → String?
Optional JSON payload string or data.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduledAt → DateTime?
Scheduled delivery timestamp.
final
title → String
Notification title.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited