resetPosition abstract method
Set the current position to be the new zero (home) position.
// Set the current position as the new home position.
await myEncoder.resetPosition();
For more information, see Encoder component.
Implementation
Future<void> resetPosition({Map<String, dynamic>? extra});