toDomain

Converts a UserDTO to a User domain model.

Receiver

The UserDTO to be converted.

Return

The corresponding User domain model with mapped fields.