Blob class
A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
-
Blob([List<
Object> ? blobParts, BlobPropertyBag? options]) -
factory
Properties
-
arrayBuffer
↔ Future<
ByteBuffer> Function() -
Available on Blob, provided by the Blob$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → num
-
Available on Blob, provided by the Blob$Typings extension
no setter - slice ↔ Blob Function([num?, num?, String?])
-
Available on Blob, provided by the Blob$Typings extension
getter/setter pair -
stream
↔ ReadableStream<
Uint8List> Function() -
Available on Blob, provided by the Blob$Typings extension
getter/setter pair -
text
↔ Future<
String> Function() -
Available on Blob, provided by the Blob$Typings extension
getter/setter pair - type → String
-
Available on Blob, provided by the Blob$Typings extension
no setter
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