BrandGoodslist constructor
const
BrandGoodslist({
- @JsonKey(name: 'activityType') @Default(0) num activitytype,
- @JsonKey(name: 'actualPrice') @Default(0) num actualprice,
- @JsonKey(name: 'brandId') @Default('') String brandid,
- @JsonKey(name: 'cid') @Default(0) num cid,
- @JsonKey(name: 'commissionRate') @Default(0) num commissionrate,
- @JsonKey(name: 'commissionType') @Default(0) num commissiontype,
- @JsonKey(name: 'couponConditions') @Default('') String couponconditions,
- @JsonKey(name: 'couponEndTime') @Default('') String couponendtime,
- @JsonKey(name: 'couponId') @Default('') String couponid,
- @JsonKey(name: 'couponLink') @Default('') String couponlink,
- @JsonKey(name: 'couponPrice') @Default(0) num couponprice,
- @JsonKey(name: 'couponReceiveNum') @Default(0) num couponreceivenum,
- @JsonKey(name: 'couponStartTime') @Default('') String couponstarttime,
- @JsonKey(name: 'couponTotalNum') @Default(0) num coupontotalnum,
- @JsonKey(name: 'dTitle') @Default('') String dtitle,
- @JsonKey(name: 'dailySales') @Default(0) num dailysales,
- @JsonKey(name: 'desc') @Default('') String desc,
- @JsonKey(name: 'discount') @Default(0) num discount,
- @JsonKey(name: 'flagshipStore') @Default(0) num flagshipstore,
- @JsonKey(name: 'freeshipRemoteDistrct') @Default(0) num freeshipremotedistrct,
- @JsonKey(name: 'goodsId') @Default('') String goodsid,
- @JsonKey(name: 'goodsSign') @Default('') String goodssign,
- @JsonKey(name: 'id') @Default(0) num id,
- @JsonKey(name: 'mainPic') @Default('') String mainpic,
- @JsonKey(name: 'marketingMainPic') @Default('') String marketingmainpic,
- @JsonKey(name: 'monthSales') @Default(0) num monthsales,
- @JsonKey(name: 'originPrice') @Default(0) num originprice,
- @JsonKey(name: 'specialText') @Default([]) List specialtext,
- @JsonKey(name: 'title') @Default('') String title,
- @JsonKey(name: 'video') @Default('') String video,
Implementation
const factory BrandGoodslist({
@JsonKey(name: 'activityType') @Default(0) num activitytype,
@JsonKey(name: 'actualPrice') @Default(0) num actualprice,
@JsonKey(name: 'brandId') @Default('') String brandid,
@JsonKey(name: 'cid') @Default(0) num cid,
@JsonKey(name: 'commissionRate') @Default(0) num commissionrate,
@JsonKey(name: 'commissionType') @Default(0) num commissiontype,
@JsonKey(name: 'couponConditions') @Default('') String couponconditions,
@JsonKey(name: 'couponEndTime') @Default('') String couponendtime,
@JsonKey(name: 'couponId') @Default('') String couponid,
@JsonKey(name: 'couponLink') @Default('') String couponlink,
@JsonKey(name: 'couponPrice') @Default(0) num couponprice,
@JsonKey(name: 'couponReceiveNum') @Default(0) num couponreceivenum,
@JsonKey(name: 'couponStartTime') @Default('') String couponstarttime,
@JsonKey(name: 'couponTotalNum') @Default(0) num coupontotalnum,
@JsonKey(name: 'dTitle') @Default('') String dtitle,
@JsonKey(name: 'dailySales') @Default(0) num dailysales,
@JsonKey(name: 'desc') @Default('') String desc,
@JsonKey(name: 'discount') @Default(0) num discount,
@JsonKey(name: 'flagshipStore') @Default(0) num flagshipstore,
@JsonKey(name: 'freeshipRemoteDistrct') @Default(0) num freeshipremotedistrct,
@JsonKey(name: 'goodsId') @Default('') String goodsid,
@JsonKey(name: 'goodsSign') @Default('') String goodssign,
@JsonKey(name: 'id') @Default(0) num id,
@JsonKey(name: 'mainPic') @Default('') String mainpic,
@JsonKey(name: 'marketingMainPic') @Default('') String marketingmainpic,
@JsonKey(name: 'monthSales') @Default(0) num monthsales,
@JsonKey(name: 'originPrice') @Default(0) num originprice,
@JsonKey(name: 'specialText') @Default([]) List<dynamic> specialtext,
@JsonKey(name: 'title') @Default('') String title,
@JsonKey(name: 'video') @Default('') String video,
}) = _BrandGoodslist;