getByValue static method

Lane getByValue(
  1. int value
)

Implementation

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