dart / 2 / dart-html / location-class.html

Location class

Implemented types
Annotations
  • @Native("Location")

Properties

ancestorOrigins → List<String>?
@Returns('DomStringList'), @Creates('DomStringList'), read-only
hash ↔ String
read / write
hashCode → int
read-only, inherited
The hash code for this object.
host ↔ String
read / write
hostname ↔ String?
read / write
href ↔ String
read / write, override-setter
origin → String
read-only
pathname ↔ String?
read / write
port ↔ String
read / write
protocol ↔ String
read / write
runtimeType → Type
read-only, inherited
A representation of the runtime type of the object.
trustedHref ↔ TrustedUrl?
read / write

Methods

assign([String? url]) → void
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed.
reload() → void
replace(String? url) → void
toString() → String
A string representation of this object.

Operators

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

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/Location-class.html