getVoltageRange method
Implementation
Voltage getVoltageRange() {
final pRange = calloc<Int32>();
try {
bindings.voltageInputGetVoltageRange(_handle!, pRange);
return Voltage(pRange.value);
} catch (e) {
throw PhidgetException('An error occurred getting the voltage range: $e');
} finally {
calloc.free(pRange);
}
}