A mock implementation of LocationStrategy that allows tests to fire simulated location events.

Inheritance
Annotations

Constructors

MockLocationStrategy()

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
internalBaseHref → String

read / write
internalHash → String

read / write
internalPath → String

read / write
internalTitle → String

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
urlChanges → List<String>

read / write

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

back() → void

forward() → void

getBaseHref() → String

hash() → String

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
onPopState(void fn(value)) → void

path() → String

prepareExternalUrl(String internal) → String

pushState(ctx, String title, String path, String query) → void

replaceState(ctx, String title, String path, String query) → void

simulatePopState(String url) → void

toString() → String

Returns a string representation of this object.

inherited