copyWith method

MarketsGet$Response copyWith({
  1. int? count,
  2. String? next,
  3. String? previous,
  4. List<Market>? results,
})

Implementation

MarketsGet$Response copyWith(
    {int? count, String? next, String? previous, List<Market>? results}) {
  return MarketsGet$Response(
      count: count ?? this.count,
      next: next ?? this.next,
      previous: previous ?? this.previous,
      results: results ?? this.results);
}