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