copyWith method
SongUrlData
copyWith({
- int? id,
- String? url,
- int? br,
- int? size,
- String? md5,
- int? code,
- int? expi,
- String? type,
- int? gain,
- int? peak,
- int? closedGain,
- int? closedPeak,
- int? fee,
- dynamic uf,
- int? payed,
- int? flag,
- bool? canExtend,
- String? level,
- String? encodeType,
- SongUrlDataFreeTrialPrivilege? freeTrialPrivilege,
- SongUrlDataFreeTimeTrialPrivilege? freeTimeTrialPrivilege,
- int? urlSource,
- int? rightSource,
- int? time,
- String? musicId,
Implementation
SongUrlData copyWith({
int? id,
String? url,
int? br,
int? size,
String? md5,
int? code,
int? expi,
String? type,
int? gain,
int? peak,
int? closedGain,
int? closedPeak,
int? fee,
dynamic uf,
int? payed,
int? flag,
bool? canExtend,
String? level,
String? encodeType,
SongUrlDataFreeTrialPrivilege? freeTrialPrivilege,
SongUrlDataFreeTimeTrialPrivilege? freeTimeTrialPrivilege,
int? urlSource,
int? rightSource,
int? time,
String? musicId,
}) {
return SongUrlData()
..id = id ?? this.id
..url = url ?? this.url
..br = br ?? this.br
..size = size ?? this.size
..md5 = md5 ?? this.md5
..code = code ?? this.code
..expi = expi ?? this.expi
..type = type ?? this.type
..gain = gain ?? this.gain
..peak = peak ?? this.peak
..closedGain = closedGain ?? this.closedGain
..closedPeak = closedPeak ?? this.closedPeak
..fee = fee ?? this.fee
..uf = uf ?? this.uf
..payed = payed ?? this.payed
..flag = flag ?? this.flag
..canExtend = canExtend ?? this.canExtend
..level = level ?? this.level
..encodeType = encodeType ?? this.encodeType
..freeTrialPrivilege = freeTrialPrivilege ?? this.freeTrialPrivilege
..freeTimeTrialPrivilege = freeTimeTrialPrivilege ?? this.freeTimeTrialPrivilege
..urlSource = urlSource ?? this.urlSource
..rightSource = rightSource ?? this.rightSource
..time = time ?? this.time
..musicId = musicId ?? this.musicId;
}