PlatformWebStorageManagerMethod enum

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

Inheritance
Available extensions

Values

deleteAllData → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.deleteAllData method is supported at runtime.

Officially Supported Platforms/Implementations:

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

deleteOrigin → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.deleteOrigin method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms

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

fetchDataRecords → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.fetchDataRecords method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • dataTypes: all platforms

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

getOrigins → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.getOrigins method is supported at runtime.

Officially Supported Platforms/Implementations:

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

getQuotaForOrigin → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.getQuotaForOrigin method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms

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

getUsageForOrigin → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.getUsageForOrigin method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms

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

removeDataFor → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.removeDataFor method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • dataTypes: all platforms
  • dataRecords: all platforms

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

removeDataModifiedSince → const PlatformWebStorageManagerMethod

Can be used to check if the PlatformWebStorageManager.removeDataModifiedSince method is supported at runtime.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • dataTypes: all platforms
  • date: all platforms

Use the PlatformWebStorageManager.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<PlatformWebStorageManagerMethod>
A constant List of the values in this enum, in order of their declaration.