ofOrNull

fun ofOrNull(stringKey: String): PrefabKey?

Creates a key like of but returns null when parsing fails.