RT class

Marks a static RouteInfo field for code generation.

Apply this annotation to static const/final RouteInfo fields to include them in the generated route_info_helper.dart file.

Example:

@RT()
static const home = RouteInfo('home', builder: (_, __) => HomeScreen());

Constructors

RT()
Creates an RT annotation.
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