copyWith method

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

Implementation

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