LaneEnumSet.of constructor

LaneEnumSet.of(
  1. Iterable<Lane> elements
)

Implementation

factory LaneEnumSet.of(Iterable<Lane> elements) {
  final rawValue = elements.fold(0, (acc, value) => acc | value.rawValue);
  return LaneEnumSet(rawValue);
}