getRandom

fun <T> List<T>.getRandom(generator: Random = Random()): T