AndroidWebStorage class

Class that provides access to the JavaScript Web Storage API: window.sessionStorage and window.localStorage. It used by PlatformInAppWebViewController.webStorage.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS
  • Web
  • Windows
Inheritance
  • Object
  • PlatformInterface
  • AndroidWebStorage

Constructors

AndroidWebStorage.new(PlatformWebStorageCreationParams params)
Constructs a AndroidWebStorage.

Properties

hashCode int
The hash code for this object.
no setterinherited
localStorage → PlatformLocalStorage
Represents window.localStorage.
no setter
params → PlatformWebStorageCreationParams
The parameters used to initialize the PlatformWebStorage.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionStorage → PlatformSessionStorage
Represents window.sessionStorage.
no setter

Methods

dispose() → void
Disposes the web storage.
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