Location class abstract
Represents the URL of the current document.
See: https://developer.mozilla.org/en-US/docs/Web/API/Location
Constructors
- Location()
Properties
- hash → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
no setter
- hostname → String
-
no setter
- href ↔ String
-
getter/setter pair
- origin → String
-
no setter
- pathname → String
-
no setter
- port → String
-
no setter
- protocol → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search → String
-
no setter
Methods
-
assign(
String url) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reload(
) → void -
replace(
String url) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited