copyWith method

TheMovieDetailGenres copyWith({
  1. int? id,
  2. String? name,
})

Implementation

TheMovieDetailGenres copyWith({
  int? id,
  String? name,
}) =>
    TheMovieDetailGenres(
      id: id ?? this.id,
      name: name ?? this.name,
    );