QueryKeyValue constructor

QueryKeyValue({
  1. required String key,
  2. required String value,
  3. bool? replaceOnly,
})

Implementation

QueryKeyValue({
  required String key,
  required String value,

  /// If true, the query key is replaced only if it's already present.
  /// Otherwise, the key is also added if it's missing. Defaults to false.
  bool? replaceOnly,
}) : _wrapped = $js.QueryKeyValue(
        key: key,
        value: value,
        replaceOnly: replaceOnly,
      );