copyWith method

Search copyWith({
  1. String? text,
  2. int? page,
  3. int? size,
})

Implementation

Search copyWith({String? text, int? page, int? size}) {
  return Search(
      text: text ?? this.text,
      page: page ?? this.page,
      size: size ?? this.size);
}