fromFlags

fun <T : Enum<T>> fromFlags(flags: Collection<T>): BitField<T>(source)

Creates a BitField from a collection of flags