name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 'block':
      return 'BLOCK';
    case 'block-cookies':
      return 'BLOCK_COOKIES';
    case 'css-display-none':
      return 'CSS_DISPLAY_NONE';
    case 'ignore-previous-rules':
      return 'IGNORE_PREVIOUS_RULES';
    case 'make-https':
      return 'MAKE_HTTPS';
  }
  return _value.toString();
}