BrandItem class

匹配相关模型

Annotations
  • @freezed

Constructors

BrandItem({@JsonKey.new(name: 'brandId') @Default.new(0) int brandid, @JsonKey.new(name: 'cid') @Default.new(0) int cid, @JsonKey.new(name: 'brandName') @Default.new('') String brandname, @JsonKey.new(name: 'brandFeatures') @Default.new('') String brandfeatures, @JsonKey.new(name: 'sales') @Default.new(0) int sales, @JsonKey.new(name: 'maxDiscountAmount') @Default.new(0) int maxdiscountamount, @JsonKey.new(name: 'maxDiscount') @Default.new(0.0) double maxdiscount, @JsonKey.new(name: 'brandDesc') @Default.new('') String branddesc, @JsonKey.new(name: 'sort') @Default.new(0) int sort, @JsonKey.new(name: 'goodsList') @Default.new(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