RedirectQuery class abstract

Class for defining the page to be displayed in different locations depending on conditions.

Reroute to the page by returning a new RouteQuery based on the RouteQuery and other information given in the source of the redirect method.

条件によりページの表示先を変えるための定義を行うためのクラス。

redirectメソッドのsourceで与えられたRouteQueryとその他の情報を元に新しいRouteQueryを返すことでそのページにリルートします。

Annotations

Constructors

RedirectQuery()
Class for defining the page to be displayed in different locations depending on conditions.
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
redirect(BuildContext context, RouteQuery source) → FutureOr<RouteQuery>
Reroute to the page by returning a new RouteQuery based on the RouteQuery and other information given in the source of the redirect method.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited