NotificationParams class

NotificationParams represents a notification input params.

Constructors

NotificationParams()

Properties

atKey → AtKey
no setter
cryptoProviderId → String?
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setter
latestN → int
no setter
messageType → MessageTypeEnum
no setter
notificationExpiry → Duration
no setter
notifier → String
no setter
operation → OperationEnum
no setter
priority → PriorityEnum
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strategy → StrategyEnum
no setter
value → String?
no setter

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

forDelete(AtKey atKey, {String? cryptoProviderId}) → NotificationParams
Returns NotificationParams to send a delete notification.
forText(String text, String whomToNotify, {bool shouldEncrypt = false, String? cryptoProviderId}) → NotificationParams
Returns NotificationParams to send a text message to another atSign. forText notifications are case-sensitive platform level lower case enforcement will not apply to forText notifications
forUpdate(AtKey atKey, {String? value, PriorityEnum priority = PriorityEnum.low, StrategyEnum strategy = StrategyEnum.all, int latestN = 1, String notifier = AtConstants.system, Duration? notificationExpiry, String? cryptoProviderId}) → NotificationParams
Returns NotificationParams to send an update notification.