BackgroundFetchManager class
The interface of the Background Fetch API is a map where the keys are background fetch IDs and the values are BackgroundFetchRegistration objects.
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- BackgroundFetchManager()
-
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
-
fetch(
String id, dynamic requests, [BackgroundFetchOptions? options]) → Future< BackgroundFetchRegistration> -
Available on BackgroundFetchManager, provided by the PropsBackgroundFetchManager extension
-
get(
String id) → Future< BackgroundFetchRegistration> -
Available on BackgroundFetchManager, provided by the PropsBackgroundFetchManager extension
-
getIds(
) → Future< Iterable< String> > -
Available on BackgroundFetchManager, provided by the PropsBackgroundFetchManager extension
-
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