URLTransform constructor
URLTransform({})
Implementation
URLTransform({
/// The new scheme for the request. Allowed values are "http", "https",
/// "ftp" and "chrome-extension".
String? scheme,
/// The new host for the request.
String? host,
/// The new port for the request. If empty, the existing port is cleared.
String? port,
/// The new path for the request. If empty, the existing path is cleared.
String? path,
/// The new query for the request. Should be either empty, in which case the
/// existing query is cleared; or should begin with '?'.
String? query,
/// Add, remove or replace query key-value pairs.
QueryTransform? queryTransform,
/// The new fragment for the request. Should be either empty, in which case
/// the existing fragment is cleared; or should begin with '#'.
String? fragment,
/// The new username for the request.
String? username,
/// The new password for the request.
String? password,
}) : _wrapped = $js.URLTransform(
scheme: scheme,
host: host,
port: port,
path: path,
query: query,
queryTransform: queryTransform?.toJS,
fragment: fragment,
username: username,
password: password,
);