Dart API Referencedart:ioRedirectInfo

RedirectInfo abstract class

Redirect information.

abstract class RedirectInfo {
  /**
   * Returns the status code used for the redirect.
   */
  int get statusCode;

  /**
   * Returns the method used for the redirect.
   */
  String get method;

  /**
   * Returns the location for the redirect.
   */
  Uri get location;
}

Properties

final Uri location #

Returns the location for the redirect.

Uri get location;

final String method #

Returns the method used for the redirect.

String get method;

final int statusCode #

Returns the status code used for the redirect.

int get statusCode;