fromJson static method
Implementation
static PrintifyOrderRequest fromJson(Map<String, dynamic> json) =>
PrintifyOrderRequest(
external_id: json['external_id'],
label: json['label'],
line_items: json['line_items'] == null
? null
: List.from(json['line_items'])
.map((e) => PrintifyOrderLineItem.fromJson(e))
.toList(),
shipping_method: json['shipping_method'],
send_shipping_notification: json['send_shipping_notification'],
address_to: json['address_to'] == null
? null
: PrintifyAddress.fromJson(json['address_to']),
);