AppNotification class
Represents an app notification seen in the notifications page, as well as in a local notification about a device in the user's notification tray.
Constructors
- AppNotification({required int id, required AppNotificationType type, required bool showSystemNotification, required AppNotificationAction? action, required String message, required DateTime? timestamp, required int? deviceId, required String? displayName, required String? serialNumber})
-
const
Properties
- action → AppNotificationAction?
-
final
- deviceId → int?
-
final
- displayName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- message → String
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber → String?
-
final
- showSystemNotification → bool
-
final
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited - timestamp → DateTime?
-
final
- type → AppNotificationType
-
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