name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 2:
return 'COMPLETED';
case 3:
return 'DOM_CONTENT_LOADED';
case 5:
return 'FIRST_CONTENTFUL_PAINT';
case 6:
return 'LARGEST_CONTENTFUL_PAINT';
case 4:
return 'LOAD';
case 8:
return 'PAGE_DELETED';
case 7:
return 'PERFORMANCE_MARK';
case 1:
return 'REDIRECTED';
case 0:
return 'STARTED';
}
return _value.toString();
}