BlobResourceContents extension type

A ResourceContents that contains binary data encoded as base64.

on
Implemented types

Constructors

BlobResourceContents.new({required String uri, required String blob, String? mimeType})
factory
BlobResourceContents.fromMap(Map<String, Object?> _value)

Properties

blob String
A base64-encoded string representing the binary data of the item.
no setter
isBlob bool
Whether or not this represents BlobResourceContents.
no setterinherited
isText bool
Whether or not this represents TextResourceContents.
no setterinherited
mimeType String?
The MIME type of this resource, if known.
no setterinherited
uri String
The URI of this resource.
no setterinherited