StandardEnvironment class

The standard library.

Inheritance

Constructors

StandardEnvironment(Environment? owner)
Imports the standard library into the Environment.

Properties

hashCode int
The hash code for this object.
no setterinherited
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

create() Environment
Constructor for a nested environment.
inherited
define(Name key, dynamic value) → dynamic
Defines a new binding from key to value.
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 a value.
inherited