ShiftOperation constructor Null safety

ShiftOperation(
  1. {required String name,
  2. required void pressed(
    1. LimitedState
    )}
)

Implementation

ShiftOperation(
    {required String name, required void Function(LimitedState) pressed})
    : super(name: name, pressed: pressed);