SessionConfigOptionCategoryThoughtLevel.fromJson constructor
SessionConfigOptionCategoryThoughtLevel.fromJson(
- Object? value
Implementation
factory SessionConfigOptionCategoryThoughtLevel.fromJson(Object? value) {
final decoded = SessionConfigOptionCategory.fromJson(value);
if (decoded is! SessionConfigOptionCategoryThoughtLevel) {
throw const AcpWireDecodeException(
'Expected SessionConfigOptionCategoryThoughtLevel.',
);
}
return decoded;
}