ToolResourceLink class final
A link to a resource the client may read, rather than its contents.
- Inheritance
-
- Object
- ToolContent
- ToolResourceLink
Constructors
- ToolResourceLink({required String uri, required String name, String? description, String? mimeType})
-
A link to the resource at
uricalledname.const
Properties
- description → String?
-
What the resource holds, for a model to read; null when not said.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType → String?
-
The media type of the resource; null when not said.
final
- name → String
-
The resource's name, which a client shows for the link.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → String
-
Where the resource lives, for the client to read.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
The protocol's content object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited