Product constructor

const Product({
  1. @Default('') String teamName,
  2. @Default(0) num tbcid,
  3. @Default(0) num shipPercent,
  4. @Default('') String itemLink,
  5. @Default(0) num freeshipRemoteDistrict,
  6. @Default(0) num yunfeixian,
  7. @Default(0) num goldSellers,
  8. @Default('') String reimgs,
  9. @Default('') String couponLink,
  10. @Default(0) num haitao,
  11. @Default('') String sellerId,
  12. @Default(0) num discounts,
  13. @Default('') String directCommissionLink,
  14. @Default('') String couponStartTime,
  15. @Default(0) num serviceScore,
  16. @Default('') String mainPic,
  17. @Default(0) num id,
  18. @Default(0) num brand,
  19. @Default('') String imgs,
  20. @Default('') String brandName,
  21. @Default('') String couponConditions,
  22. @Default('') String detailPics,
  23. @Default([]) List subcid,
  24. @Default(0) num subdivisionId,
  25. @Default(0) num dsrScore,
  26. @Default(0) num dailySales,
  27. @Default(0) num shopLevel,
  28. @Default(0) num couponTotalNum,
  29. @Default(0) num descScore,
  30. @Default('') String brandWenan,
  31. @Default('') String activityEndTime,
  32. @Default(0) num shipScore,
  33. dynamic brandId,
  34. @Default(0) num couponReceiveNum,
  35. @Default(0) num shopType,
  36. @Default(0) num cid,
  37. @Default('') String desc,
  38. @Default(0) num commissionRate,
  39. @Default(0) num originalPrice,
  40. @Default(0) num actualPrice,
  41. @Default('') String goodsId,
  42. @Default(0) num quanMLink,
  43. @Default('') String shopName,
  44. @Default('') String activityStartTime,
  45. @Default('') String video,
  46. @Default('') String title,
  47. @Default('') String dtitle,
  48. @Default(0) num monthSales,
  49. @Default(0) num subdivisionRank,
  50. @Default(0) num hzQuanOver,
  51. @Default(0) num isSubdivision,
  52. @Default(0) num directCommissionType,
  53. @Default(0) num servicePercent,
  54. @Default(0) num commissionType,
  55. @Default(0) num directCommission,
  56. @Default(0) num twoHoursSales,
  57. @Default(0) num dsrPercent,
  58. @Default(0) num estimateAmount,
  59. @Default(0) num couponPrice,
  60. @Default(0) num activityType,
  61. @Default(0) num hotPush,
  62. @Default('') String marketingMainPic,
  63. @Default('') String couponEndTime,
  64. @Default('') String createTime,
  65. @Default('') String subdivisionName,
  66. @Default('') String circleText,
  67. @Default([]) List specialText,
})

Implementation

const factory Product(
    {@Default('') String teamName,
    @Default(0) num tbcid,
    @Default(0) num shipPercent,
    @Default('') String itemLink,
    @Default(0) num freeshipRemoteDistrict,
    @Default(0) num yunfeixian,
    @Default(0) num goldSellers,
    @Default('') String reimgs,
    @Default('') String couponLink,
    @Default(0) num haitao,
    @Default('') String sellerId,
    @Default(0) num discounts,
    @Default('') String directCommissionLink,
    @Default('') String couponStartTime,
    @Default(0) num serviceScore,
    @Default('') String mainPic,
    @Default(0) num id,
    @Default(0) num brand,
    @Default('') String imgs,
    @Default('') String brandName,
    @Default('') String couponConditions,
    @Default('') String detailPics,
    @Default([]) List<dynamic> subcid,
    @Default(0) num subdivisionId,
    @Default(0) num dsrScore,
    @Default(0) num dailySales,
    @Default('') String shopLogo,
    @Default(0) num shopLevel,
    @Default(0) num couponTotalNum,
    @Default(0) num descScore,
    @Default('') String brandWenan,
    @Default('') String activityEndTime,
    @Default(0) num shipScore,
    dynamic brandId,
    @Default(0) num couponReceiveNum,
    @Default(0) num shopType,
    @Default(0) num cid,
    @Default('') String desc,
    @Default(0) num commissionRate,
    @Default(0) num originalPrice,
    @Default(0) num actualPrice,
    @Default('') String goodsId,
    @Default(0) num quanMLink,
    @Default('') String shopName,
    @Default('') String activityStartTime,
    @Default('') String video,
    @Default('') String title,
    @Default('') String dtitle,
    @Default(0) num monthSales,
    @Default(0) num subdivisionRank,
    @Default(0) num hzQuanOver,
    @Default(0) num isSubdivision,
    @Default(0) num directCommissionType,
    @Default(0) num servicePercent,
    @Default(0) num commissionType,
    @Default(0) num directCommission,
    @Default(0) num twoHoursSales,
    @Default(0) num dsrPercent,
    @Default(0) num estimateAmount,
    @Default(0) num couponPrice,
    @Default(0) num activityType,
    @Default(0) num hotPush,
    @Default('') String marketingMainPic,
    @Default('') String couponEndTime,
    @Default('') String createTime,
    @Default('') String subdivisionName,
    @Default('') String circleText,
    @Default([]) List<dynamic> specialText}) = _Product;