WebsiteDataType class

Class that represents a website data type.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() String?
Gets String native value if supported by the current platform, otherwise null.
toString() String
A string representation of this object.
override
toValue() String
Gets String value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

ALL Set<WebsiteDataType>
Returns a set of all available website data types.
final
values Set<WebsiteDataType>
Set of all values of WebsiteDataType.
final

Static Methods

asNameMap() Map<String, WebsiteDataType>
Creates a map from the names of WebsiteDataType values to the values.
byName(String? name) WebsiteDataType?
Gets a possible WebsiteDataType instance value with name name.
fromNativeValue(String? value) WebsiteDataType?
Gets a possible WebsiteDataType instance from a native value.
fromValue(String? value) WebsiteDataType?
Gets a possible WebsiteDataType instance from String value.

Constants

WKWebsiteDataTypeCookies → const WebsiteDataType
Cookies.
WKWebsiteDataTypeDiskCache → const WebsiteDataType
On-disk caches.
WKWebsiteDataTypeFetchCache → const WebsiteDataType
On-disk Fetch caches.
WKWebsiteDataTypeIndexedDBDatabases → const WebsiteDataType
IndexedDB databases.
WKWebsiteDataTypeLocalStorage → const WebsiteDataType
HTML local storage.
WKWebsiteDataTypeMemoryCache → const WebsiteDataType
In-memory caches.
WKWebsiteDataTypeOfflineWebApplicationCache → const WebsiteDataType
HTML offline web application caches.
WKWebsiteDataTypeServiceWorkerRegistrations → const WebsiteDataType
Service worker registrations.
WKWebsiteDataTypeSessionStorage → const WebsiteDataType
HTML session storage.
WKWebsiteDataTypeWebSQLDatabases → const WebsiteDataType
WebSQL databases.