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