toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'id': id,
      'address_to': address_to,
      'line_items': line_items,
      'metadata': metadata,
      'total_price': total_price,
      'total_shipping': total_shipping,
      'total_tax': total_tax,
      'status': status,
      'method': method,
      'shipments': shipments,
      'created_at': created_at,
      'sent_to_production_at': sent_to_production_at,
      'fulfilled_at': fulfilled_at,
    };