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

hashCode int
The hash code for this object. [...]
read-only, inherited
parent Voyager
final
path String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
storage Map<String, dynamic>
final
type String
read / write

Methods

dispose() → void
lock() → void
merge(Voyager other) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onDispose(OnDispose callback) → void
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](String key) → dynamic
operator []=(String key, dynamic value) → void

Static Properties

nothing Nothing
final

Constants

KEY_TYPE → const String
"type"