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