Redirect class

Constructors

Redirect({String? extensionPath, URLTransform? transform, String? url, String? regexSubstitution})
Redirect.fromJS(Redirect _wrapped)

Properties

extensionPath String?
Path relative to the extension directory. Should start with '/'.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
regexSubstitution String?
Substitution pattern for rules which specify a regexFilter. The first match of regexFilter within the url will be replaced with this pattern. Within regexSubstitution, backslash-escaped digits (\1 to \9) can be used to insert the corresponding capture groups. \0 refers to the entire matching text.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS → Redirect
no setter
transform URLTransform?
Url transformations to perform.
getter/setter pair
url String?
The redirect url. Redirects to JavaScript urls are not allowed.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited