type property

NodeType type

Implementation

NodeType get type {
  if(key[0] == '*') {
    return NodeType.wildcard;
  } else if(key[0] == ':') {
    return NodeType.param;
  } else {
    return NodeType.part;
  }
}