copyWith method

UrlQueryParameter copyWith({
  1. String? name,
  2. String? value,
})

A copy of this value with the given members replaced.

Implementation

UrlQueryParameter copyWith({String? name, String? value}) =>
    UrlQueryParameter(name: name ?? this.name, value: value ?? this.value);