toDomain method Null safety

Domain toDomain()

Convert the current entity to it's correspondent domain.

Implementation

Domain toDomain();