getByValue static method

MapRotationDirection getByValue(
  1. int value
)

Implementation

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