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