getByValue static method

Implementation

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