NotifyService class

A service to handle save and retrieve operation on notify

Constructors

NotifyService()
factory

Properties

atClient ↔ AtClient
getter/setter pair
atClientManager ↔ AtClientManager
getter/setter pair
currentAtSign String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initializationSettings ↔ InitializationSettings
getter/setter pair
notifies List<Notify>
List to store notification objects
getter/setter pair
notifySink Sink
no setter
notifyStream Stream<List<Notify>>
no setter
notifyStreamController StreamController<List<Notify>>
Stream to put the notification object list
getter/setter pair
rootDomain String?
getter/setter pair
rootPort int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageKey String
final

Methods

cancelNotifications() → void
Cancel All notification
disposeControllers() → void
getNotifies({String? atsign, int days = 1}) Future<void>
Get Notify List From AtClient
initializePlatformSpecifics() → dynamic
Initialized Notification Settings
initNotifyService(AtClientPreference atClientPreference, String currentAtSignFromApp, String rootDomainFromApp, int rootPortFromApp) → void
Initialise function to set the client preference, atsign and root domain
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendNotify(String sendToAtSign, Notify notify, NotifyEnum notifyType, {int noOfDays = 30}) Future<bool>
Call Notify in NotificationService, send notify to others
showNotification(String decryptedMessage, String atSign) Future<void>
Show Local Notification in Device
toString() String
A string representation of this object.
inherited

Operators

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