name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 'NSURLProtectionSpaceFTPProxy':
return 'NSURL_PROTECTION_SPACE_FTP_PROXY';
case 'NSURLProtectionSpaceHTTPSProxy':
return 'NSURL_PROTECTION_SPACE_HTTPS_PROXY';
case 'NSURLProtectionSpaceSOCKSProxy':
return 'NSURL_PROTECTION_SPACE_SOCKS_PROXY';
case 'NSURLProtectionSpaceHTTPProxy':
return 'NSUR_PROTECTION_SPACE_HTTP_PROXY';
}
return _value.toString();
}