edit method Null safety

Entity edit(
  1. Entity objectToEdit
)

Edit the domain.

Implementation

Entity edit(Entity objectToEdit);