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