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
-
- Object
- PlatformLocation
- BrowserPlatformLocation
- Annotations
-
- @Injectable()
Constructors
Properties
Methods
-
back(
) → void -
override
-
forward(
) → void -
override
-
getBaseHrefFromDOM(
) → String? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onHashChange(
EventListener fn) → void -
override
-
onPopState(
EventListener fn) → void -
override
-
pushState(
Object? state, String title, String? url) → void -
override
-
replaceState(
Object? state, String title, String? url) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited