ControllerArg class

One parameter of a controller.

Constructors

ControllerArg(ArgKind kind, {DtoSchema<Object>? dto, PathType pathType = PathType.string, bool nullable = false, String param = ''})
const

Properties

dto → DtoSchema<Object>?
the DTO, for ArgKind.dto
final
hashCode → int
The hash code for this object.
no setterinherited
kind → ArgKind
final
nullable → bool
int?: the param may be missing ({id?})
final
param → String
the name of the path param
final
pathType → PathType
the type of a path param
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