copyWith method

NewSongDataPrivilege copyWith({
  1. int? id,
  2. int? fee,
  3. int? payed,
  4. int? st,
  5. int? pl,
  6. int? dl,
  7. int? sp,
  8. int? cp,
  9. int? subp,
  10. bool? cs,
  11. int? maxbr,
  12. int? fl,
  13. bool? toast,
  14. int? flag,
  15. bool? preSell,
  16. int? playMaxbr,
  17. int? downloadMaxbr,
  18. String? maxBrLevel,
  19. String? playMaxBrLevel,
  20. String? downloadMaxBrLevel,
  21. String? plLevel,
  22. String? dlLevel,
  23. String? flLevel,
  24. NewSongDataPrivilegeFreeTrialPrivilege? freeTrialPrivilege,
  25. int? rightSource,
  26. List<NewSongDataPrivilegeChargeInfoList>? chargeInfoList,
})

Implementation

NewSongDataPrivilege copyWith({
  int? id,
  int? fee,
  int? payed,
  int? st,
  int? pl,
  int? dl,
  int? sp,
  int? cp,
  int? subp,
  bool? cs,
  int? maxbr,
  int? fl,
  bool? toast,
  int? flag,
  bool? preSell,
  int? playMaxbr,
  int? downloadMaxbr,
  String? maxBrLevel,
  String? playMaxBrLevel,
  String? downloadMaxBrLevel,
  String? plLevel,
  String? dlLevel,
  String? flLevel,
  NewSongDataPrivilegeFreeTrialPrivilege? freeTrialPrivilege,
  int? rightSource,
  List<NewSongDataPrivilegeChargeInfoList>? chargeInfoList,
}) {
  return NewSongDataPrivilege()
    ..id = id ?? this.id
    ..fee = fee ?? this.fee
    ..payed = payed ?? this.payed
    ..st = st ?? this.st
    ..pl = pl ?? this.pl
    ..dl = dl ?? this.dl
    ..sp = sp ?? this.sp
    ..cp = cp ?? this.cp
    ..subp = subp ?? this.subp
    ..cs = cs ?? this.cs
    ..maxbr = maxbr ?? this.maxbr
    ..fl = fl ?? this.fl
    ..toast = toast ?? this.toast
    ..flag = flag ?? this.flag
    ..preSell = preSell ?? this.preSell
    ..playMaxbr = playMaxbr ?? this.playMaxbr
    ..downloadMaxbr = downloadMaxbr ?? this.downloadMaxbr
    ..maxBrLevel = maxBrLevel ?? this.maxBrLevel
    ..playMaxBrLevel = playMaxBrLevel ?? this.playMaxBrLevel
    ..downloadMaxBrLevel = downloadMaxBrLevel ?? this.downloadMaxBrLevel
    ..plLevel = plLevel ?? this.plLevel
    ..dlLevel = dlLevel ?? this.dlLevel
    ..flLevel = flLevel ?? this.flLevel
    ..freeTrialPrivilege = freeTrialPrivilege ?? this.freeTrialPrivilege
    ..rightSource = rightSource ?? this.rightSource
    ..chargeInfoList = chargeInfoList ?? this.chargeInfoList;
}