SpeiderItemWithTimeItem.fromJson constructor
SpeiderItemWithTimeItem.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SpeiderItemWithTimeItem.fromJson(Map<String, dynamic> json) => SpeiderItemWithTimeItem(
couponEndTime: json["couponEndTime"],
itemId: json["itemId"],
img: json["img"],
commissionRate: json["commissionRate"].toDouble(),
activityPrice: json["activityPrice"].toDouble(),
price: json["price"].toDouble(),
couponStartTime: json["couponStartTime"],
remark: json["remark"],
couponPrice: json["couponPrice"],
type: json["type"],
title: json["title"],
url: json["url"],
);