Voyager class

This class is a composite product of RouterPlugins for the given router's path - this means all the information resolved from the navigation file that is relevant to creating new widget. Once assembled the variables are locked - they can be read but you can't put more.

Developer might choose to use storage to dynamically put any variables that should be available to anyone having access to that instance of Voyager

Constructors

Voyager({String path, Voyager parent, Map<String, dynamic> config })

Properties

parent Voyager
final
path → String
final
storage → Map<String, dynamic>
final
type ↔ String
read / write
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

dispose() → void
lock() → void
merge(Voyager other) → void
onDispose(OnDispose callback) → void
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 [](String key) → dynamic
operator []=(String key, dynamic value) → void
operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

nothing Nothing
final

Constants

KEY_TYPE → const String
"type"