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