InboxMessage class

Available extensions

Constructors

InboxMessage({required String messageId, String? title, String? body, String? preview, String? created, List<InboxAction>? actions, dynamic data, bool? archived, String? read, String? opened})
InboxMessage.fromJson(dynamic data)
factory

Properties

actions List<InboxAction>?
final
archived bool?
getter/setter pair
body String?
final
created String?
final
data → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
isArchived bool
no setter
isOpened bool
no setter
isRead bool
no setter
messageId String
final
opened String?
getter/setter pair
preview String?
final
read String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
no setter
time String
no setter
title String?
final

Methods

markAsClicked() Future

Available on InboxMessage, provided by the InboxMessageExtensions extension

markAsRead() Future

Available on InboxMessage, provided by the InboxMessageExtensions extension

markAsUnread() Future

Available on InboxMessage, provided by the InboxMessageExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOpened() → void
setRead() → void
setUnread() → void
toString() String
A string representation of this object.
inherited

Operators

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