fromTuples static method

ConnectionParams fromTuples(
  1. List tuples
)

Creates a new ConnectionParams 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 ConnectionParams object. Return a new ConnectionParams object.

Implementation

static ConnectionParams fromTuples(List<dynamic> tuples) {
  var map = StringValueMap.fromTuplesArray(tuples);
  return ConnectionParams(map);
}