createBehavior method

ChartBehavior<D> createBehavior(
  1. 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>();