convertValuesTo method Null safety

  1. @override
void convertValuesTo(
  1. DisplayMode next,
  2. Model<ProgramOperation> model
)
override

Convert values in the model when switching between float and int, and vice-versa. We're switching from this mode to next. The 16C does interesting things with x and y here.

Implementation

@override
void convertValuesTo(DisplayMode next, Model model) =>
    next._convertValuesFromInt(model);