fromTuples static method

FilterParams fromTuples(
  1. List tuples
)
override

Creates a new FilterParams from a list of key-value pairs called tuples.

  • tuples a list of values where odd elements are keys and the following even elements are values Returns a newly created FilterParams.

Implementation

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