LimitedOperation constructor Null safety

LimitedOperation(
  1. {required void pressed(
    1. LimitedState
    ),
  2. required String name,
  3. bool endsDigitEntry = true}
)

Implementation

LimitedOperation(
    {required void Function(LimitedState) pressed,
    required String name,
    this.endsDigitEntry = true})
    : _pressed = pressed,
      super(name: name);