Context class
Basic implementation of an execution context.
See IContext
See AnyValueMap
- Implemented types
Constructors
- Context(AnyValueMap? values)
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
-
get(
String key) → dynamic -
Gets a map element specified by its key.
override
-
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
Static Methods
-
fromConfig(
ConfigParams? config) → Context - Creates new Context from ConfigMap object.
-
fromTraceId(
String traceId) → Context - Creates new Context from trace id.
-
fromTuples(
List tuples) → Context - Creates a new Context object filled with provided key-value pairs called tuples. Tuples parameters contain a sequence of key1, value1, key2, value2, ... pairs.
-
fromValue(
dynamic value) → Context - Creates a new Parameters object filled with key-value pairs from specified object.