ServerToolCaller class
Server-side caller (for code execution initiated calls).
- Inheritance
-
- Object
- ToolCaller
- ServerToolCaller
- Annotations
-
- @immutable
Constructors
- ServerToolCaller({required String type, required String toolId})
-
Creates a ServerToolCaller.
const
-
ServerToolCaller.fromJson(Map<
String, dynamic> json) -
Parses ServerToolCaller from JSON.
factory
Properties
Methods
-
copyWith(
{String? type, String? toolId}) → ServerToolCaller - Creates a copy with replaced values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this caller to JSON.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override