Replacewith change optional lamda to lambda with default

I saw the following post regarding lambda’s:

I used null-lambda’s, but I want to replace it with the idiomatic approach.
Is there something I can do with ReplaceWith to transfer the code to the new way?