TrieNode class

A simple Radix Trie node for routing.

Note: This is a simplified implementation. A full production version needs to handle wildcards properly.

Constructors

TrieNode(String part)

Properties

children Map<String, TrieNode>
final
handlers Map<HttpMethod, Function>
final
hashCode int
The hash code for this object.
no setterinherited
isParam bool
getter/setter pair
paramName String
getter/setter pair
part String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited