to
Reference a constructor parameter or target property in lieu of a property reference, if it not exists as a property.
For example
to("name") fromProperty PersonDto::fullNameContent copied to clipboard
will generate an explicit mapping, setting constructor parameter name to PersonDto.fullName.
Alias for the target type TO to simply property references.
For example, suppose we are constructing a mapper with target type Person
to::name fromProperty PersonDto::fullNameContent copied to clipboard
is equivalent to Person::name fromProperty PersonDto::fullName.