TextResourceContents extension type
A ResourceContents that contains text.
- on
- Implemented types
Constructors
- TextResourceContents.new({required String uri, required String text, String? mimeType})
-
factory
-
TextResourceContents.fromMap(Map<
String, Object?> _value)
Properties
- 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
- text → String
-
The text of the item.
no setter
- uri → String
-
The URI of this resource.
no setterinherited