NotificationService class

Constructors

NotificationService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelNotification(int hashCode) Future<void>
Cancel a scheduled notification for a given task id (using hashCode)
initialize() Future<void>
listenToNotificationEvents() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scheduleNotification(CropTask newTask) Future<void>
scheduleNotificationForTask(CropTask task) Future<void>
Schedule notification for a specific task, 15 minutes before the task time
scheduleTaskNotifications() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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