refuse method
- @protected
- DeviceFeature feature, {
- String? reason,
inherited
The refusal for feature on this device, for a default body or a
backend's own gate to throw: throw refuse(DeviceFeature.compute).
Implementation
@protected
UnsupportedCapabilityException refuse(
DeviceFeature feature, {
String? reason,
}) => UnsupportedCapabilityException(
feature,
backend: backendName,
reason: reason,
);