LinkNode<S extends LinkNode<S> > mixin
A URL-addressable grammar node with NO presentation and NO fields — the
enum NAME is the whole declaration. The links-only tier of the screens
grammar: a server or API surface authors
enum _Links with LinkNode<_Links> and builds the same tree
(user({product})) with the same link/view-state vocabulary, and nothing
to render. A ScreenNodeBase row is conceptually a LinkNode plus a
widget; the hierarchy unification (placement-as-link, matcher/generator
support) is a coming pass — today this is the authoring surface and the
validated tree (LinkGraph).
Properties
-
fragment
→ FragmentFace<
S> -
Like query for the URL
#fragment— callable for the PAIRS scheme,.path(...)for the path scheme (#<id>/thumb).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Codec<
Object?> ? -
This node's id codec, or null when id-free — an overridable GETTER, so
a links-only enum stays completely field-free.
no setter
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
[Set< TreeNode< children = const {}]) → SS> > -
Declares a placement of this node with
childrenas its continuations. -
link(
[Set< LinkTreeNode?> children = const {}]) → LinkBranch<S> - Singular alias of links.
-
links(
[Set< LinkTreeNode?> children = const {}]) → LinkBranch<S> -
URL ingress branches (
slot/nested segs) that resolve to this node. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
Set< QueryTerm> terms) → S -
This placement's
?queryview-state keys — URL-tier, so it lives on the link tier (a server route's query params are the same declaration). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited