QueryTransform constructor

QueryTransform({
  1. List<String>? removeParams,
  2. List<QueryKeyValue>? addOrReplaceParams,
})

Implementation

QueryTransform({
  /// The list of query keys to be removed.
  List<String>? removeParams,

  /// The list of query key-value pairs to be added or replaced.
  List<QueryKeyValue>? addOrReplaceParams,
}) : _wrapped = $js.QueryTransform(
        removeParams: removeParams?.toJSArray((e) => e),
        addOrReplaceParams: addOrReplaceParams?.toJSArray((e) => e.toJS),
      );