copyWith method

NewSongDataMMusic copyWith({
  1. int? volumeDelta,
  2. int? playTime,
  3. int? dfsId,
  4. int? bitrate,
  5. int? sr,
  6. String? name,
  7. int? id,
  8. int? size,
  9. String? extension,
})

Implementation

NewSongDataMMusic copyWith({
  int? volumeDelta,
  int? playTime,
  int? dfsId,
  int? bitrate,
  int? sr,
  String? name,
  int? id,
  int? size,
  String? extension,
}) {
  return NewSongDataMMusic()
    ..volumeDelta = volumeDelta ?? this.volumeDelta
    ..playTime = playTime ?? this.playTime
    ..dfsId = dfsId ?? this.dfsId
    ..bitrate = bitrate ?? this.bitrate
    ..sr = sr ?? this.sr
    ..name = name ?? this.name
    ..id = id ?? this.id
    ..size = size ?? this.size
    ..extension = extension ?? this.extension;
}