fromTuples static method

Context fromTuples(
  1. List tuples
)

Creates a new Context object filled with provided key-value pairs called tuples. Tuples parameters contain a sequence of key1, value1, key2, value2, ... pairs.

  • tuples the tuples to fill a new Parameters object. Returns a new Context object.

See StringValueMap.fromTuplesArray

Implementation

static Context fromTuples(List tuples) {
  var map = AnyValueMap.fromTuples(tuples);
  return Context(map);
}