toSet method

Implementation

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