parseArgs method

  1. @override
CalculatorArgs parseArgs(
  1. Map<String, dynamic> json
)
override

Parses the JSON arguments into the typed arguments object.

This method is called by the agent to convert the raw JSON arguments from the LLM into the structured T type.

Implementation

@override
CalculatorArgs parseArgs(Map<String, dynamic> json) => CalculatorArgs.fromJson(json);