PlatformServiceWorkerControllerMethod enum

List of PlatformServiceWorkerController's methods that can be used to check if they are supported or not by the current platform.

Inheritance
  • Object
  • Enum
  • PlatformServiceWorkerControllerMethod
Available extensions

Values

getAllowContentAccess → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.getAllowContentAccess method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

getAllowFileAccess → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.getAllowFileAccess method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

getBlockNetworkLoads → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.getBlockNetworkLoads method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

getCacheMode → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.getCacheMode method is supported at runtime.

Officially Supported Platforms/Implementations:

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

setAllowContentAccess → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.setAllowContentAccess method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • allow: all platforms

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

setAllowFileAccess → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.setAllowFileAccess method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • allow: all platforms

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

setBlockNetworkLoads → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.setBlockNetworkLoads method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • flag: all platforms

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

setCacheMode → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.setCacheMode method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • mode: all platforms

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

setServiceWorkerClient → const PlatformServiceWorkerControllerMethod

Can be used to check if the PlatformServiceWorkerController.setServiceWorkerClient method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • value: all platforms

Use the PlatformServiceWorkerController.isMethodSupported method to check if this method is supported at runtime.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<PlatformServiceWorkerControllerMethod>
A constant List of the values in this enum, in order of their declaration.