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
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
location Location
final
pathname String
getter/setter pairoverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
no setteroverride

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