ShippingOption.fromJson constructor
Parse from a json
Implementation
factory ShippingOption.fromJson(Map<String, dynamic> json) => ShippingOption(
id: json['id'],
title: json['title'],
priceParts: List<LabeledPricePart>.from((json['price_parts'] ?? [])
.map((item) => LabeledPricePart.fromJson(item))
.toList()),
);