NiceNotification class

Constructors

NiceNotification({required String id, required String title, String? body, NiceNotificationType type = NiceNotificationType.info, IconData? icon, required DateTime timestamp, bool isRead = false, String? actionUrl, Map<String, dynamic>? data})
const

Properties

actionUrl → String?
final
body → String?
final
data → Map<String, dynamic>?
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
final
id → String
final
isRead → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
final
title → String
final
type → NiceNotificationType
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