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