Resource extension type
A known resource that the server is capable of reading.
Constructors
- Resource.new({required String uri, required String name, Annotations? annotations, String? description, String? mimeType, int? size})
-
factory
-
Resource.fromMap(Map<
String, Object?> _value)
Properties
- annotations → Annotations?
-
Annotations for this object.
no setterinherited
- description → String?
-
A description of what this resource represents.
no setter
- mimeType → String?
-
The MIME type of this resource, if known.
no setter
- name → String
-
A human-readable name for this resource.
no setter
- size → int?
-
The size of the raw resource content, in bytes (i.e., before base64
encoding or any tokenization), if known.
no setter
- uri → String
-
The URI of this resource.
no setter