getByValue static method

MapDataLoadingState getByValue(
  1. int value
)

Implementation

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