ProductLineItem.fromJson constructor

ProductLineItem.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ProductLineItem.fromJson(Map<String, Object?> json) =>
    ProductLineItem(
      type: json["type"] as String,
      product: ProductLineItemProduct.fromJson(
        (json["product"] as Map).cast<String, Object?>(),
      ),
    );