TypedGoRoute<T extends GoRouteData> class

Annotation for types that support typed routing.

Annotations
  • @Target(<TargetKind>{TargetKind.library, TargetKind.classType})

Constructors

TypedGoRoute({required String path, List<TypedGoRoute<GoRouteData>> routes = const <TypedGoRoute<GoRouteData>>[]})
Instantiates a new instance of TypedGoRoute.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
The path that corresponds to this rout.
final
routes List<TypedGoRoute<GoRouteData>>
Child route definitions.
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