fromTuples static method

PagingParams fromTuples(
  1. List tuples
)

Creates a new PagingParams 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 PagingParams.

Implementation

static PagingParams fromTuples(List<dynamic> tuples) {
  var map = AnyValueMap.fromTuplesArray(tuples);
  return PagingParams.fromMap(map);
}