getCurrentLimit method

double getCurrentLimit()

Implementation

double getCurrentLimit() {
  _ensureOpen();
  final pLimit = calloc<Double>();
  try {
    bindings.checkPhidgetError(
        bindings.stepperGetCurrentLimit(_handle!, pLimit),
        'Stepper.getCurrentLimit');
    return pLimit.value;
  } finally {
    calloc.free(pLimit);
  }
}