fromValue static method
Implementation
static UserScriptInjectionTime? fromValue(int? value) {
if (value != null) {
try {
return UserScriptInjectionTime.values.firstWhere((element) => element.toValue() == value);
} catch (e) {
return null;
}
}
return null;
}