StandardEnvironment class
The standard library.
- Inheritance
-
- Object
- Environment
- StandardEnvironment
Constructors
- StandardEnvironment(Environment? owner)
- Imports the standard library into the Environment.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- interrupt ↔ InterruptCallback?
-
A callback to check if execution should continue. Consumers should set
this to a function that throws an exception if execution should stop.
getter/setter pairinherited
-
keys
→ Iterable<
Name> -
Returns the keys of the bindings.
no setterinherited
- owner → Environment?
-
Returns the parent of the bindings.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkInterrupt(
) → void -
Check if execution should continue. See interrupt.
inherited
-
create(
) → Environment -
Constructor for a nested environment.
inherited
-
define(
Name key, dynamic value) → dynamic -
Defines a new binding from
key
tovalue
.inherited -
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
.inherited -
operator []=(
Name key, dynamic value) → void -
Updates the binding for
key
with avalue
.inherited