of

fun <T : Enum<T>> of(vararg flags: T): BitField<T>(source)

Creates a BitField from multiple flags