getCalculation<T extends ProgramOperation> method Null safety

  1. @override
(void Function(Model<ProgramOperation>)?) getCalculation<T extends ProgramOperation>(
  1. Model<ProgramOperation> m,
  2. DisplayModeSelector<(void Function(Model<ProgramOperation>)?), T> selector
)
override

Implementation

@override
void Function(Model)? getCalculation<T extends ProgramOperation>(
        Model m, DisplayModeSelector<void Function(Model)?, T> selector) =>
    m.displayMode.select(selector, this);