RelativeRotaryRotation constructor
RelativeRotaryRotation({})
Creates a RelativeRotaryRotation object.
Implementation
RelativeRotaryRotation({
required this.direction,
required this.steps,
required this.durationMilliseconds,
}) : assert(steps >= 0 && steps <= 32767,
"`steps` must be between 0 and 32767 (inclusive)"),
assert(durationMilliseconds >= 0 && durationMilliseconds <= 65534,
"`durationMilliseconds` must be between 0 and 65534 (inclusive)");