PushNotification class

Implemented types
Annotations

Constructors

PushNotification({String? action, String? deliveryDate, String? trigger, String? categoryIdentifier, String? threadIdentifier, NotificationContent? notificationContent, Set<SelfDescribingJson> contexts = const {}})
Creates a PushNotification event
const

Properties

action String?
action Action taken by the user.
final
categoryIdentifier String?
categoryIdentifier Category Id of the notification.
final
contexts Set<SelfDescribingJson>
contexts Attached custom contexts
final
deliveryDate String?
deliveryDate The date the notification was delivered.
final
hashCode int
The hash code for this object.
no setteroverride
notificationContent NotificationContent?
notificationContent Notification content event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threadIdentifier String?
threadIdentifier Thread Id of the notification.
final
trigger String?
trigger Event trigger (i.e. push or local trigger).
final

Methods

attach({required Set<SelfDescribingJson> contexts}) PushNotification
attach Attaches additional contexts to the event
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts the event object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override