TaskHandler class abstract

A class that implements a task handler.

Constructors

TaskHandler()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDestroy(DateTime timestamp, SendPort? sendPort) → void
Called when the task is destroyed.
onNotificationButtonPressed(String id) → void
Called when the notification button on the Android platform is pressed.
onNotificationPressed() → void
Called when the notification itself on the Android platform is pressed.
onRepeatEvent(DateTime timestamp, SendPort? sendPort) → void
Called every interval milliseconds in ForegroundTaskOptions.
onStart(DateTime timestamp, SendPort? sendPort) → void
Called when the task is started.
toString() String
A string representation of this object.
inherited

Operators

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