setPowerSupply method
Implementation
void setPowerSupply(PowerSupply supply) {
try {
bindings.voltageInputSetPowerSupply(_handle!, supply.value);
} catch (e) {
throw PhidgetException('An error occurred setting the power supply: $e');
}
}