NavigationPreloadManager class

The interface of the Service Worker API provides methods for managing the preloading of resources with a service worker.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

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

disable() Future<void>

Available on NavigationPreloadManager, provided by the PropsNavigationPreloadManager extension

enable() Future<void>

Available on NavigationPreloadManager, provided by the PropsNavigationPreloadManager extension

getState() Future<NavigationPreloadState>

Available on NavigationPreloadManager, provided by the PropsNavigationPreloadManager extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHeaderValue(String value) Future<void>

Available on NavigationPreloadManager, provided by the PropsNavigationPreloadManager extension

toString() String
A string representation of this object.
inherited

Operators

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