copyWith method

RequestParams copyWith({
  1. int? page,
  2. int? entries,
  3. String? search,
  4. String? include,
  5. String? exclude,
  6. String? platform,
  7. String? chains,
})

Implementation

RequestParams copyWith({
  int? page,
  int? entries,
  String? search,
  String? include,
  String? exclude,
  String? platform,
  String? chains,
}) =>
    RequestParams(
      page: page ?? this.page,
      entries: entries ?? this.entries,
      search: search ?? this.search,
      include: include ?? this.include,
      exclude: exclude ?? this.exclude,
      platform: platform ?? this.platform,
      chains: chains ?? this.chains,
    );