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