RealController constructor Null safety

RealController(
  1. {required List<NumberEntry> numbers,
  2. required Map<Operation, ArgDone> shortcuts,
  3. required Operation lblOperation,
  4. required Operation rtn}
)

Implementation

RealController(
    {required List<NumberEntry> numbers,
    required Map<Operation, ArgDone> shortcuts,
    required Operation lblOperation,
    required Operation rtn})
    : super() {
  model.memory.initializeSystem(
      OperationMap<Operation>(
          registerBase: model.registerNumberBase,
          keys: model.logicalKeys,
          numbers: numbers,
          special: nonProgrammableOperations,
          shortcuts: shortcuts),
      lblOperation,
      rtn);
  state = Resting(this);
  keyboard.controller = this;
}