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