getByValue static method

MapScalingDirection getByValue(
  1. int value
)

Implementation

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