copyWith method
RecommendResourceRecommend
copyWith(
{ - int? id,
- int? type,
- String? name,
- String? copywriter,
- String? picUrl,
- int? playcount,
- int? createTime,
- RecommendResourceRecommendCreator? creator,
- int? trackCount,
- int? userId,
- String? alg,
})
Implementation
RecommendResourceRecommend copyWith({
int? id,
int? type,
String? name,
String? copywriter,
String? picUrl,
int? playcount,
int? createTime,
RecommendResourceRecommendCreator? creator,
int? trackCount,
int? userId,
String? alg,
}) {
return RecommendResourceRecommend()
..id = id ?? this.id
..type = type ?? this.type
..name = name ?? this.name
..copywriter = copywriter ?? this.copywriter
..picUrl = picUrl ?? this.picUrl
..playcount = playcount ?? this.playcount
..createTime = createTime ?? this.createTime
..creator = creator ?? this.creator
..trackCount = trackCount ?? this.trackCount
..userId = userId ?? this.userId
..alg = alg ?? this.alg;
}