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