Redirect constructor

Redirect(
  1. Uri body, {
  2. dynamic statusCode = HttpStatus.movedPermanently,
  3. Map<String, dynamic>? headers,
  4. List<Cookie>? cookies,
})

Implementation

Redirect(
  Uri body, {
  statusCode = HttpStatus.movedPermanently,
  Map<String, dynamic>? headers,
  List<Cookie>? cookies,
}) : super._make(
        body: body,
        statusCode: statusCode,
        headers: headers,
        cookies: cookies,
      );