copyWith method

TopArtistEntity copyWith({
  1. int? code,
  2. bool? more,
  3. List<TopArtistArtists>? artists,
})

Implementation

TopArtistEntity copyWith({
  int? code,
  bool? more,
  List<TopArtistArtists>? artists,
}) {
  return TopArtistEntity()
    ..code = code ?? this.code
    ..more = more ?? this.more
    ..artists = artists ?? this.artists;
}