getByValue static method

MapVisibilityState getByValue(
  1. int value
)

Implementation

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