PlatformWebStorageCreationParams class
Object specifying creation parameters for creating a PlatformWebStorage.
Platform specific implementations can add additional fields by extending this class.
- Annotations
Constructors
- PlatformWebStorageCreationParams({required PlatformLocalStorage localStorage, required PlatformSessionStorage sessionStorage})
-
Used by the platform implementation to create a new PlatformWebStorage.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localStorage → PlatformLocalStorage
-
Represents
window.localStorage
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionStorage → PlatformSessionStorage
-
Represents
window.sessionStorage
.final
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