convertTo

abstract fun convertTo(item: E): M

Convert from a single type E to M


open fun convertTo(items: Collection<E>): List<M>

Convert to Collection types of E to M