copyWith method

RecommendResourceEntity copyWith({
  1. int? code,
  2. bool? featureFirst,
  3. bool? haveRcmdSongs,
  4. List<RecommendResourceRecommend>? recommend,
})

Implementation

RecommendResourceEntity copyWith({
  int? code,
  bool? featureFirst,
  bool? haveRcmdSongs,
  List<RecommendResourceRecommend>? recommend,
}) {
  return RecommendResourceEntity()
    ..code = code ?? this.code
    ..featureFirst = featureFirst ?? this.featureFirst
    ..haveRcmdSongs = haveRcmdSongs ?? this.haveRcmdSongs
    ..recommend = recommend ?? this.recommend;
}