createBehavior method
ChartBehavior<D>
createBehavior(
- BehaviorCreator creator
inherited
Helper method to create a behavior with congruent types.
This invokes the provides helper with type parameters that match this chart.
Implementation
ChartBehavior<D> createBehavior(BehaviorCreator creator) => creator<D>();