toSet method
Implementation
@override
Set<RoadEventDisplayCategory> toSet() {
Set<RoadEventDisplayCategory> result = {};
RoadEventDisplayCategory.values.forEach((element) {
if (this.contains(element)) {
result.add(element);
}
});
return result;
}