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