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