withEachBool method

Bits withEachBool(
  1. Iterable<(int, bool)> entries
)

Implementation

Bits withEachBool(Iterable<(int index, bool value)> entries) => entries.fold<Bits>(this, (previous, element) => previous.withBoolAt(element.$1, element.$2));