Elevator code story implementation in Dart