name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case '*':
      return 'MATCH_ALL_SCHEMES';
    case 'http':
      return 'MATCH_HTTP';
    case 'https':
      return 'MATCH_HTTPS';
  }
  return _value.toString();
}