getMinDataRate method

double getMinDataRate()

Implementation

double getMinDataRate() {
  final pRate = calloc<Double>();
  try {
    bindings.voltageInputGetMinDataRate(_handle!, pRate);
    return pRate.value;
  } catch (e) {
    throw PhidgetException(
        'An error occurred getting the minimum data rate: $e');
  } finally {
    calloc.free(pRate);
  }
}