Map each element in from to an instance of TO if from is not null.
from mapped to a list of instances of TO.
the source values.