setPosition method
Implementation
void setPosition(int position) {
_ensureAttached();
bindings.checkPhidgetError(
bindings.encoderSetPosition(_handle!, position), 'Encoder setPosition');
}
void setPosition(int position) {
_ensureAttached();
bindings.checkPhidgetError(
bindings.encoderSetPosition(_handle!, position), 'Encoder setPosition');
}