fromBits static method

Implementation

static PlanStatisticsBitfieldProperties fromBits(
        List<PlanStatisticsBitfieldProperties> bits) =>
    (bits.length < 2)
        ? PlanStatisticsBitfieldProperties(bits.isEmpty ? 0 : bits[0].value)
        : bits.reduce((b1, b2) =>
            PlanStatisticsBitfieldProperties(b1.value | b2.value));