getByValue static method

CarBriefRouteInfoTrafficSpeed getByValue(
  1. int value
)

Implementation

static CarBriefRouteInfoTrafficSpeed getByValue(int value) {
  return CarBriefRouteInfoTrafficSpeed.values.firstWhere((x) => x.rawValue == value);
}