DiscountLineItem.fromJson constructor
Implementation
factory DiscountLineItem.fromJson(Map<String, Object?> json) =>
DiscountLineItem(
type: json["type"] as String,
discount: Discount.fromJson(
(json["discount"] as Map).cast<String, Object?>(),
),
);