from

fun from(value: Int): NsfwLevel(source)

Returns an instance of NsfwLevel with NsfwLevel.value equal to the specified value.