toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'validatedOrderInfo',
    if (extra != null) '@extra': extra,
    'order_info_id': order_info_id,
    'shipping_options': shipping_options
  };
}