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