toDomain

Converts a UserDocument to a User domain model.

Receiver

The UserDocument to be converted.

Return

The corresponding User domain model.