PageRedirect.permanent constructor
Creates a permanent redirect (301 Moved Permanently).
Use this when a resource has permanently moved to a new location. Browsers will cache this redirect.
Implementation
const PageRedirect.permanent(
String location, {
List<Cookie> cookies = const [],
}) : this(location, statusCode: 301, cookies: cookies);