getEngaged method

bool getEngaged()

Implementation

bool getEngaged() {
  _ensureOpen();
  final pEngaged = calloc<Int32>();

  try {
    bindings.checkPhidgetError(
        bindings.stepperGetEngaged(_handle!, pEngaged), 'Stepper.getEngaged');
    return pEngaged.value == 1;
  } finally {
    calloc.free(pEngaged);
  }
}