mapNullableList

fun mapNullableList(from: List<FROM>?): List<TO>?

Map each element in from to an instance of TO if from is not null.

Return

from mapped to a list of instances of TO.

Parameters

from

the source values.