NodeRuntimeEnvironment class final
Supplies the process environment exposed by a Node-family host.
The returned value is a snapshot. Application configuration can pass it to
RuntimeContext when it needs host values during provider validation, while
generated Node entrypoints use the same snapshot for CLI arguments and
listener defaults.
Constructors
- NodeRuntimeEnvironment()
-
Creates a Node runtime environment source.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
snapshot(
) → RuntimeEnvironment -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
current(
) → RuntimeEnvironment - Reads a fresh snapshot from the current host.