AvailableCommandInputUnstructured.fromMap constructor
Implementation
factory AvailableCommandInputUnstructured.fromMap(
Map<Object?, Object?> value,
) {
final decoded = AvailableCommandInput.fromMap(value);
if (decoded is! AvailableCommandInputUnstructured) {
throw const AcpWireDecodeException(
'Expected AvailableCommandInputUnstructured.',
);
}
return decoded;
}