FlyCommand constructor

FlyCommand({
  1. Direction direction = Direction.forward,
  2. required int lengthCm,
})

Implementation

FlyCommand({this.direction = Direction.forward, required this.lengthCm});