copyWith method
RecommendResourceEntity
copyWith({
- int? code,
- bool? featureFirst,
- bool? haveRcmdSongs,
- 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;
}