controller property Null safety

StateMachineController controller
final

Implementation

final StateMachineController controller;