redirect abstract method
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を返すことでそのページにリルートします。
Implementation
FutureOr<RouteQuery> redirect(BuildContext context, RouteQuery source);