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