FollowValueEnumSet.of constructor
FollowValueEnumSet.of(
- Iterable<
FollowValue> elements
Implementation
factory FollowValueEnumSet.of(Iterable<FollowValue> elements) {
final rawValue = elements.fold(0, (acc, value) => acc | value.rawValue);
return FollowValueEnumSet(rawValue);
}