StackPolicy class

Constructors

StackPolicy({PathBuilder pathBuilder = defaultPathBuilder})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
pathBuilder PathBuilder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop(WouterState state, [dynamic result]) → (WouterState, bool)
returns WouterState with popped stack and if stack can be popped again
push<R>(WouterState state, String path) → (WouterState, Future<R?>)
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

defaultPathBuilder(String current, String path) String