copyWith method

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

Implementation

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