SharedStorageAccessParams class
Bundles the parameters for shared storage access events whose presence/absence can vary according to SharedStorageAccessType.
Constructors
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreIfPresent → bool?
-
Whether or not to set an entry for a key if that key is already present.
Present only for SharedStorageAccessType.documentSet and
SharedStorageAccessType.workletSet.
final
- key → String?
-
Key for a specific entry in an origin's shared storage.
Present only for SharedStorageAccessType.documentSet,
SharedStorageAccessType.documentAppend,
SharedStorageAccessType.documentDelete,
SharedStorageAccessType.workletSet,
SharedStorageAccessType.workletAppend,
SharedStorageAccessType.workletDelete, and
SharedStorageAccessType.workletGet.
final
- operationName → String?
-
Name of the registered operation to be run.
Present only for SharedStorageAccessType.documentRun and
SharedStorageAccessType.documentSelectURL.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptSourceUrl → String?
-
Spec of the module script URL.
Present only for SharedStorageAccessType.documentAddModule.
final
- serializedData → String?
-
The operation's serialized data in bytes (converted to a string).
Present only for SharedStorageAccessType.documentRun and
SharedStorageAccessType.documentSelectURL.
final
-
urlsWithMetadata
→ List<
SharedStorageUrlWithMetadata> ? -
Array of candidate URLs' specs, along with any associated metadata.
Present only for SharedStorageAccessType.documentSelectURL.
final
- value → String?
-
Value for a specific entry in an origin's shared storage.
Present only for SharedStorageAccessType.documentSet,
SharedStorageAccessType.documentAppend,
SharedStorageAccessType.workletSet, and
SharedStorageAccessType.workletAppend.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited