BrandItem class

匹配相关模型

Annotations
  • @freezed

Constructors

BrandItem({@JsonKey(name: 'brandId') @Default(0) int brandid, @JsonKey(name: 'cid') @Default(0) int cid, @JsonKey(name: 'brandName') @Default('') String brandname, @JsonKey(name: 'brandFeatures') @Default('') String brandfeatures, @JsonKey(name: 'sales') @Default(0) int sales, @JsonKey(name: 'maxDiscountAmount') @Default(0) int maxdiscountamount, @JsonKey(name: 'maxDiscount') @Default(0.0) double maxdiscount, @JsonKey(name: 'brandDesc') @Default('') String branddesc, @JsonKey(name: 'sort') @Default(0) int sort, @JsonKey(name: 'goodsList') @Default(IListConst([])) IList<BrandGoodslist> goodslist})
const
factory
BrandItem.fromJson(Map<String, dynamic> json)
factory

Properties

branddesc String
no setterinherited
brandfeatures String
no setterinherited
brandid int
no setterinherited
no setterinherited
brandname String
no setterinherited
cid int
no setterinherited
copyWith → $BrandItemCopyWith<BrandItem>
no setterinherited
goodslist → IList<BrandGoodslist>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
maxdiscount double
no setterinherited
maxdiscountamount int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sales int
no setterinherited
sort int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited