fromTuples static method

CredentialParams fromTuples(
  1. List tuples
)

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

Implementation

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