RouteParamConfig class

holds constructor parameter info to be used in generating route parameters.

Implementers

Constructors

RouteParamConfig({required ResolvedType type, required String name, bool isOptional = false, bool isNamed = false, String? alias, bool isPositional = false, bool isRequired = false, bool? isPathParam, bool? isQueryParam, String? defaultValueCode})

Properties

alias String?
final
defaultValueCode String?
final
getterName String
no setter
hashCode int
The hash code for this object.
no setterinherited
isNamed bool
final
isOptional bool
final
isPathParam bool?
final
isPositional bool
final
isQueryParam bool?
final
isRequired bool
final
name String
final
paramName String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ResolvedType
final

Methods

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

Operators

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