InboxMessage class

A message stored in the inbox.

InboxMessage always has a special topic, has sentTimestamp - milliseconds from epoch in UTC, and seen status. To mark message as seen, use special markMessagesSeen.

Constructors

InboxMessage({required String messageId, required bool seen, required String topic, String? title, String? body, String? sound, bool? vibrate, String? icon, bool? silent, String? category, Map<String, dynamic>? customPayload, String? internalData, String? contentUrl, Map<String, dynamic>? originalPayload, String? browserUrl, String? deeplink, String? webViewUrl, String? inAppOpenTitle, String? inAppDismissTitle, num? sentTimestamp})
InboxMessage.fromJson(Map<String, dynamic> json)

Properties

body String?
final
browserUrl String?
final
category String?
final
contentUrl String?
final
customPayload Map<String, dynamic>?
final
final
hashCode int
The hash code for this object.
no setteroverride
icon String?
final
inAppDismissTitle String?
final
inAppOpenTitle String?
final
internalData String?
final
messageId String
final
originalPayload Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seen bool
final
sentTimestamp num?
final
silent bool?
final
sound String?
final
title String?
final
topic String
final
vibrate bool?
final
webViewUrl String?
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.
override