copyWith method

AttributionEntity copyWith({
  1. SecondaryAttribution? secondaryAttribution,
  2. String? city,
  3. dynamic openId,
  4. dynamic retryAppStartDelay,
  5. String? currentCity,
  6. bool? mstatus,
  7. dynamic noticeTitle,
  8. dynamic noticeContent,
  9. String? province,
  10. num? activityChannel,
  11. String? marketingPlatform,
  12. dynamic applyCancelTime,
  13. dynamic packageNameList,
  14. num? attributionCount,
  15. String? unionId,
  16. bool? isAttributionSuccess,
  17. dynamic gameToken,
  18. dynamic loginStatus,
  19. String? userId,
  20. String? winningIdea,
  21. bool? isCanCancel,
  22. bool? isNatureChannel,
  23. bool? isShowNotice,
  24. bool? currentCityIsBlack,
  25. bool? isCancelAccount,
  26. dynamic attributionType,
  27. num? ts,
})

Implementation

AttributionEntity copyWith({  SecondaryAttribution? secondaryAttribution,
  String? city,
  dynamic openId,
  dynamic retryAppStartDelay,
  String? currentCity,
  bool? mstatus,
  dynamic noticeTitle,
  dynamic noticeContent,
  String? province,
  num? activityChannel,
  String? marketingPlatform,
  dynamic applyCancelTime,
  dynamic packageNameList,
  num? attributionCount,
  String? unionId,
  bool? isAttributionSuccess,
  dynamic gameToken,
  dynamic loginStatus,
  String? userId,
  String? winningIdea,
  bool? isCanCancel,
  bool? isNatureChannel,
  bool? isShowNotice,
  bool? currentCityIsBlack,
  bool? isCancelAccount,
  dynamic attributionType,
  num? ts,
}) => AttributionEntity(  secondaryAttribution: secondaryAttribution ?? _secondaryAttribution,
  city: city ?? _city,
  openId: openId ?? _openId,
  retryAppStartDelay: retryAppStartDelay ?? _retryAppStartDelay,
  currentCity: currentCity ?? _currentCity,
  mstatus: mstatus ?? _mstatus,
  noticeTitle: noticeTitle ?? _noticeTitle,
  noticeContent: noticeContent ?? _noticeContent,
  province: province ?? _province,
  activityChannel: activityChannel ?? _activityChannel,
  marketingPlatform: marketingPlatform ?? _marketingPlatform,
  applyCancelTime: applyCancelTime ?? _applyCancelTime,
  packageNameList: packageNameList ?? _packageNameList,
  attributionCount: attributionCount ?? _attributionCount,
  unionId: unionId ?? _unionId,
  isAttributionSuccess: isAttributionSuccess ?? _isAttributionSuccess,
  gameToken: gameToken ?? _gameToken,
  loginStatus: loginStatus ?? _loginStatus,
  userId: userId ?? _userId,
  winningIdea: winningIdea ?? _winningIdea,
  isCanCancel: isCanCancel ?? _isCanCancel,
  isNatureChannel: isNatureChannel ?? _isNatureChannel,
  isShowNotice: isShowNotice ?? _isShowNotice,
  currentCityIsBlack: currentCityIsBlack ?? _currentCityIsBlack,
  isCancelAccount: isCancelAccount ?? _isCancelAccount,
  attributionType: attributionType ?? _attributionType,
  ts: ts ?? _ts,
);