PageRedirect.seeOther constructor

const PageRedirect.seeOther(
  1. String location, {
  2. List<Cookie> cookies = const [],
})

Creates a "See Other" redirect (303 See Other).

Use this to redirect after a POST request to a GET endpoint.

Implementation

const PageRedirect.seeOther(
  String location, {
  List<Cookie> cookies = const [],
}) : this(location, statusCode: 303, cookies: cookies);