InboxMessage class

Available extensions

Constructors

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

Properties

actions List<InboxAction>?
final
archived String?
getter/setter pair
body String?
final
created String?
final
createdAt DateTime?
no setter
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

markAsArchived() Future

Available on InboxMessage, provided by the InboxMessageExtensions extension

markAsClicked() Future

Available on InboxMessage, provided by the InboxMessageExtensions extension

markAsOpened() 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
setArchived() → void
setOpened() → void
setRead() → void
setUnarchived() → void
setUnread() → void
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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