moveUp method Null safety

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

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

Implementation

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

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