BatchInboxNotificationContent class
Describes the content of an inbox notification.
Constructors
Properties
- body → String
-
Notification body.
final
- date → DateTime
-
Notification timestamp in UTC.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLandingMessage → bool
-
Whether the notification content has a landing message attached.
final
- id → String
-
The unique notification identifier. Do not make assumptions about its format: it can change at any time.
final
- isUnread → bool
-
Is the notification unread?
final
-
payload
→ Map<
String, String> -
Raw notification payload.
This is the complete payload containing Apple, Google, Batch's internal keys
and the ones you can add using the custom payload feature.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → BatchInboxNotificationSource
-
Source of the notification. This is "what" triggered the push to be sent to the
user. Push Campaign, Transactional notification, ...
Unknown means that your SDK is too old to understand a new source that has
been introduced after its release.
final
- title → String?
-
Notification title. Optional.
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