calcDefinedFor<T> method Null safety

T? calcDefinedFor<T>(
  1. Controller controller,
  2. T? calc
)

By default, operations, if present, work for all kinds of controllers, but cf. BranchingOperation

Implementation

T? calcDefinedFor<T>(Controller controller, T? calc) => calc;