PathParam class

this annotation is used to make parameters that's supposed to take their values from the dynamic segments of a path

Annotations
  • @Target({TargetKind.parameter})

Constructors

PathParam([String? name])
default constructor
const
PathParam.inherit([String? name])
Use this constructor to inherit a dynamic-segment from a parent path
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
name of the dynamic segment declared in path e.g /path/:id -> name = id
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