GenerateArgs class
Annotation used to mark classes for which page arguments should be generated.
When applied to a class, the @GenerateArgs annotation triggers the
code generation process for that class to create the necessary arguments
for routing.
Example:
@GenerateArgs()
class MyPageArgs {
final String id;
const MyPageArgs(this.id);
}
This annotation is used by the PageArgsGenerator during the code generation
process.
Constructors
- GenerateArgs()
-
Creates an instance of the
GenerateArgsannotation.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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