ToolConfig.fromJson constructor
ToolConfig.fromJson(
- Object? j
Implementation
factory ToolConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ToolConfig(
functionCallingConfig: switch (json['functionCallingConfig']) {
null => null,
Object $1 => FunctionCallingConfig.fromJson($1),
},
);
}