Environment class

Environment of bindings.

Implementers

Constructors

Environment([Environment? _owner])
Constructor for the nested environment.

Properties

hashCode int
The hash code for this object.
no setterinherited
keys Iterable<Name>
Returns the keys of the bindings.
no setter
owner Environment?
Returns the parent of the bindings.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create() Environment
Constructor for a nested environment.
define(Name key, dynamic value) → dynamic
Defines a new binding from key to value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](Name key) → dynamic
Return the binding for key.
operator []=(Name key, dynamic value) → void
Updates the binding for key with a value.