ToolChoice.fromJson constructor
ToolChoice.fromJson(
- dynamic json
Implementation
factory ToolChoice.fromJson(dynamic json) =>
json is String ? ToolChoice._(json, null) : ToolChoice._('tool', (json as Map<String, dynamic>)['toolName'] as String);