edit method Null safety

Domain edit(
  1. Domain objectToEdit
)

Edit the domain.

Implementation

Domain edit(Domain objectToEdit);