moveRight method Null safety

Future<void> moveRight(
  1. String profileToken,
  2. [int step = 25]
)

A helper method to perform a single step of a relativeMove on the positive x axis (right)

Implementation

Future<void> moveRight(String profileToken, [int step = 25]) async {
  loggy.debug('moveRight');

  await move(profileToken, PanTilt.fromInt(x: step, y: 0));
}