name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 'abort':
return 'ABORT';
case 'error':
return 'ERROR';
case 'load':
return 'LOAD';
case 'loadend':
return 'LOADEND';
case 'loadstart':
return 'LOADSTART';
case 'progress':
return 'PROGRESS';
case 'timeout':
return 'TIMEOUT';
}
return _value.toString();
}