getByValue static method
Implementation
static Authenticity? getByValue(int? i) {
if (i == null) return null;
try {
return Authenticity.values.firstWhere((x) => x.value == i);
} catch (_) {
return Authenticity.UNKNOWN;
}
}
static Authenticity? getByValue(int? i) {
if (i == null) return null;
try {
return Authenticity.values.firstWhere((x) => x.value == i);
} catch (_) {
return Authenticity.UNKNOWN;
}
}