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