name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 'NSURLAuthenticationMethodClientCertificate':
return 'NSURL_AUTHENTICATION_METHOD_CLIENT_CERTIFICATE';
case 'NSURLAuthenticationMethodDefault':
return 'NSURL_AUTHENTICATION_METHOD_DEFAULT';
case 'NSURLAuthenticationMethodHTMLForm':
return 'NSURL_AUTHENTICATION_METHOD_HTML_FORM';
case 'NSURLAuthenticationMethodHTTPBasic':
return 'NSURL_AUTHENTICATION_METHOD_HTTP_BASIC';
case 'NSURLAuthenticationMethodHTTPDigest':
return 'NSURL_AUTHENTICATION_METHOD_HTTP_DIGEST';
case 'NSURLAuthenticationMethodNegotiate':
return 'NSURL_AUTHENTICATION_METHOD_NEGOTIATE';
case 'NSURLAuthenticationMethodNTLM':
return 'NSURL_AUTHENTICATION_METHOD_NTLM';
case 'NSURLAuthenticationMethodServerTrust':
return 'NSURL_AUTHENTICATION_METHOD_SERVER_TRUST';
}
return _value.toString();
}