createState method
How to create state from generic BeamState, that is produced by BeamerDelegate and passed via BeamerDelegate.locationBuilder.
Override this if you have your custom state class extending BeamState.
Implementation
T createState(BeamState state) => state.copyForLocation(this) as T;