from

open fun <T> from(supplier: Supplier<T>): PropertyMapper.Source<T>

Return a new Source from the specified value supplier that can be used to perform the mapping.

Return

a Source that can be used to complete the mapping

Parameters

<T>

the source type

supplier

the value supplier

See also


open fun <T> from(value: T): PropertyMapper.Source<T>

Return a new Source from the specified value that can be used to perform the mapping.

Return

a Source that can be used to complete the mapping

Parameters

<T>

the source type

value

the value