PageRedirect class Null safety

Constructors

PageRedirect({GetPage? route, GetPage? unknownRoute, bool isUnknown = false, RouteSettings? settings})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isUnknown bool
read / write
route GetPage?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
settings RouteSettings?
read / write
unknownRoute GetPage?
read / write

Methods

addPageParameter(GetPage route) → void
getPageToRoute<T>(GetPage rou, GetPage? unk) GetPageRoute<T>
needRecheck() bool
check if redirect is needed
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
page<T>() GetPageRoute<T>
toString() String
A string representation of this object. [...]
inherited

Operators

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