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