ProductData.fromJson constructor
ProductData.fromJson(
- Map json_
Implementation
ProductData.fromJson(core.Map json_)
: this(
itemRevenue: json_.containsKey('itemRevenue')
? (json_['itemRevenue'] as core.num).toDouble()
: null,
productName: json_.containsKey('productName')
? json_['productName'] as core.String
: null,
productQuantity: json_.containsKey('productQuantity')
? json_['productQuantity'] as core.String
: null,
productSku: json_.containsKey('productSku')
? json_['productSku'] as core.String
: null,
);