|
|
@ -221,7 +221,7 @@ class ProductInfoList { |
|
|
|
String skuName, |
|
|
|
String skuName, |
|
|
|
int buyNumber, |
|
|
|
int buyNumber, |
|
|
|
String productId, |
|
|
|
String productId, |
|
|
|
double sellPrice, |
|
|
|
dynamic sellPrice, |
|
|
|
String productName,}){ |
|
|
|
String productName,}){ |
|
|
|
_skuId = skuId; |
|
|
|
_skuId = skuId; |
|
|
|
_skuName = skuName; |
|
|
|
_skuName = skuName; |
|
|
@ -243,13 +243,13 @@ class ProductInfoList { |
|
|
|
String _skuName; |
|
|
|
String _skuName; |
|
|
|
int _buyNumber; |
|
|
|
int _buyNumber; |
|
|
|
String _productId; |
|
|
|
String _productId; |
|
|
|
double _sellPrice; |
|
|
|
dynamic _sellPrice; |
|
|
|
String _productName; |
|
|
|
String _productName; |
|
|
|
ProductInfoList copyWith({ String skuId, |
|
|
|
ProductInfoList copyWith({ String skuId, |
|
|
|
String skuName, |
|
|
|
String skuName, |
|
|
|
int buyNumber, |
|
|
|
int buyNumber, |
|
|
|
String productId, |
|
|
|
String productId, |
|
|
|
double sellPrice, |
|
|
|
dynamic sellPrice, |
|
|
|
String productName, |
|
|
|
String productName, |
|
|
|
}) => ProductInfoList( skuId: skuId ?? _skuId, |
|
|
|
}) => ProductInfoList( skuId: skuId ?? _skuId, |
|
|
|
skuName: skuName ?? _skuName, |
|
|
|
skuName: skuName ?? _skuName, |
|
|
@ -262,7 +262,7 @@ class ProductInfoList { |
|
|
|
String get skuName => _skuName; |
|
|
|
String get skuName => _skuName; |
|
|
|
int get buyNumber => _buyNumber; |
|
|
|
int get buyNumber => _buyNumber; |
|
|
|
String get productId => _productId; |
|
|
|
String get productId => _productId; |
|
|
|
double get sellPrice => _sellPrice; |
|
|
|
dynamic get sellPrice => _sellPrice; |
|
|
|
String get productName => _productName; |
|
|
|
String get productName => _productName; |
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() { |
|
|
|
Map<String, dynamic> toJson() { |
|
|
|