BrowserPlatformLocation class

PlatformLocation encapsulates all of the direct calls to platform APIs. This class should not be used directly by an application developer. Instead, use Location.

Inheritance
Annotations
  • @Injectable()

Constructors

BrowserPlatformLocation()

Properties

hash → String
read-only, override
location → Location
read-only
pathname ↔ String
read / write, override-getter
read-only, override
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

back() → void
override
forward() → void
override
getBaseHrefFromDOM() → String
override
onHashChange(EventListener fn) → void
override
onPopState(EventListener fn) → void
override
pushState(dynamic state, String title, String url) → void
override
replaceState(dynamic state, String title, String url) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited