toListOf

abstract fun <T> toListOf(kType: KType, params: Map<String, Any?> = emptyMap(), onResult: (DataResult<List<T>>) -> Unit): Job

Asynchronously maps results to a list of objects and passes them to the onResult callback.