fromNativeValue static method
Gets a possible WebViewFeature instance from a native value.
Implementation
static WebViewFeature? fromNativeValue(String? value) {
if (value != null) {
try {
return WebViewFeature.values
.firstWhere((element) => element.toNativeValue() == value);
} catch (e) {
return null;
}
}
return null;
}