map

fun <R> map(transform: (T) -> R): PaginatedResponse<R>

Maps the items of this response to a new type R.