getBlob abstract method

FutureOr<Blob?> getBlob(
  1. Map<String, Object?> properties
)

Gets a Blob using its metadata.

If the blob with the specified metadata doesn’t exist, returns null.

If the provided properties don't contain valid metadata, an ArgumentError is thrown.

Property Type Description Required
@type const "blob" Marks dictionary as containing Blob metadata. Yes
content_type string Content type ex. text/plain. No
length int Length of the Blob in bytes. No
digest string Cryptographic digest of the Blob’s content. Yes

See also:

Implementation

FutureOr<Blob?> getBlob(Map<String, Object?> properties);