userOp property Null safety

NonProgrammableOperation userOp
final

Implementation

static final userOp = NonProgrammableOperation(
    endsDigitEntry: true,
    calc: (_) {},
    pressed: (LimitedState s) {
      final m = s.model as Model15;
      m.userMode = !m.userMode;
      m.display.update(flash: true); // Needed in program entry mode
    },
    name: 'USER');