fromTuples static method

ConfigParams fromTuples(
  1. List tuples
)
override

Creates a new ConfigParams 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 ConfigParams object. Returns a new ConfigParams object.

See StringValueMap.fromTuplesArray

Implementation

static ConfigParams fromTuples(List tuples) {
  var map = StringValueMap.fromTuplesArray(tuples);
  return ConfigParams(map);
}