SMTAppInboxMessage class

Constructors

SMTAppInboxMessage.new({List<ActionButton> actionButton = const [], String appInboxCategory = "", String appInboxTtl = "", String body = "", AttrParams? attrParams, List<Carousel> carousel = const [], dynamic customPayload, String deeplink = "", String mediaUrl = "", dynamic pnMeta, DateTime? publishedDate, String smtSrc = "", bool sound = false, String status = "", String subtitle = "", String timestamp = "", String title = "", String trid = "", SMTNotificationType type = SMTNotificationType.simple})
SMTAppInboxMessage.fromJson(Map json)
factory

Properties

actionButton List<ActionButton>
final
appInboxCategory String
final
appInboxTtl String
final
attrParams AttrParams?
final
body String
final
final
customPayload → dynamic
final
final
hashCode int
The hash code for this object.
no setterinherited
mediaUrl String
final
pnMeta → dynamic
final
publishedDate DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smtSrc String
final
sound bool
final
status String
final
subtitle String
final
timestamp String
final
title String
final
trid String
final
type SMTNotificationType
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

Static Methods

parseDateString(String? dateString) DateTime?