getCalculation<T extends ProgramOperation> method Null safety

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

Implementation

void Function(Model)? getCalculation<T extends ProgramOperation>(
        Model m, DisplayModeSelector<void Function(Model)?, T> selector) =>
    _calculate;