toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'updateNewShippingQuery',
    if (extra != null) '@extra': extra,
    'id': id,
    'sender_user_id': sender_user_id,
    'invoice_payload': invoice_payload,
    'shipping_address': shipping_address
  };
}