copyWithWrapped method

Search copyWithWrapped({
  1. Wrapped<String>? text,
  2. Wrapped<int?>? page,
  3. Wrapped<int?>? size,
})

Implementation

Search copyWithWrapped(
    {Wrapped<String>? text, Wrapped<int?>? page, Wrapped<int?>? size}) {
  return Search(
      text: (text != null ? text.value : this.text),
      page: (page != null ? page.value : this.page),
      size: (size != null ? size.value : this.size));
}