WebScopedStorageXFileCreationParams class sealed
Base implementation of PlatformScopedStorageXFileCreationParams for web.
This implementation exists to provide access to platform-specific features that are safe to use when compiling on multiple platforms without a stub.
This class is a stub for the implementation in
web_scoped_storage_cross_file.dart.
- Inheritance
-
- Object
- PlatformXFileCreationParams
- PlatformScopedStorageXFileCreationParams
- WebScopedStorageXFileCreationParams
- Annotations
Constructors
- WebScopedStorageXFileCreationParams.fromBytes(Uint8List bytes, {String? fileName, bool autoRevokeObjectUrl = true, @visibleForTesting Object? testOverrides})
-
Constructs a WebScopedStorageXFileCreationParams by creating a Blob
from
bytes.factory - WebScopedStorageXFileCreationParams.fromObjectUrl({required String objectUrl, @visibleForTesting Object? testOverrides})
-
Constructs a WebScopedStorageXFileCreationParams with an object url.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testOverrides → Object?
-
Overrides some functions to allow testing.
no setter
- uri → String
-
A unique string used to identify the resource.
finalinherited
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