BackgroundHandler class abstract

Abstract background handler interface.

Constructors

BackgroundHandler()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updates Stream<BackgroundResult>
Stream of state updates.
no setter

Methods

cancel(String taskId) Future<bool>
Cancel a background task.
getState(String taskId) Future<BackgroundState?>
Get task state.
initialize() Future<void>
Initialize background processing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
schedule(BackgroundConfig config, BackgroundCallback callback) Future<String>
Schedule a background task.
toString() String
A string representation of this object.
inherited

Operators

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