PathParams<P> class
final
A bidirectional typed path-parameter contract.
Constructors
- PathParams.codec({required P decode(PathInput input), required void encode(P value, PathOutput output)})
-
Creates an explicit runtime codec.
const
- PathParams.schema()
-
Declares a codec that the file-route compiler must generate.
const
Properties
Methods
-
decode(
Map< String, List< values) → PString> > -
Decodes raw values into
P. -
encode(
P value) → Map< String, List< String> > -
Encodes
valueinto raw path segments. -
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