onOff property Null safety

NonProgrammableOperation onOff
final

Implementation

static final onOff = NonProgrammableOperation(
    pressed: (LimitedState s) => s.handleOnOff(), name: 'ON');