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