nextULong

Gets the next random ULong from the random number generator.

fun Random.nextULong(): ULong(source)
import kotlin.random.Random

fun main() {
    val randomULong: ULong = Random.Default.nextULong()
    println("Random ULong: $randomULong")
}

Source