copyWith method

SongDetailSongsAl copyWith({
  1. int? id,
  2. String? name,
  3. String? picUrl,
  4. List? tns,
  5. int? pic,
})

Implementation

SongDetailSongsAl copyWith({
  int? id,
  String? name,
  String? picUrl,
  List<dynamic>? tns,
  int? pic,
}) {
  return SongDetailSongsAl()
    ..id = id ?? this.id
    ..name = name ?? this.name
    ..picUrl = picUrl ?? this.picUrl
    ..tns = tns ?? this.tns
    ..pic = pic ?? this.pic;
}