fromValue static method
- int? value
Gets a possible PrintJobRenderingQuality instance from int value.
Implementation
static PrintJobRenderingQuality? fromValue(int? value) {
if (value != null) {
try {
return PrintJobRenderingQuality.values.firstWhere(
(element) => element.toValue() == value,
);
} catch (e) {
return null;
}
}
return null;
}