Context class
Constructors
- Context({required String? key, required Context? parent, required dynamic current, required bool isBase})
- Context.root(dynamic current)
- Initial context node. The entry point of the run command.
Properties
-
basePath
→ List<
String> -
no setter
- current → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBase → bool
-
Each time the reference is triggered,
the context starts from the
base
node.final - isRoot → bool
-
Initial context node. The entry point of the run command.
no setter
- key → String?
-
final
- parent → Context?
-
Parent context of this node.
final
-
path
→ List<
String> -
no setter
- root → Context
-
Get the initial context node from the context tree.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
String key) → Context -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBase(
) → Context - Takes a portion of the context tree from the current node (leaf) to the base.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited