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