toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'answerShippingQuery',
if (extra != null) '@extra': extra,
'shipping_query_id': shipping_query_id,
'shipping_options': shipping_options,
'error_message': error_message
};
}