of

fun of(path: List<Any?>): Path

Creates a new Path from the given path.