toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '354a9b09',
'\$name': 'BotInlineMessageMediaInvoice',
'flags': flags,
'shippingAddressRequested': shippingAddressRequested,
'test': test,
'title': title,
'description': description,
'photo': photo,
'currency': currency,
'totalAmount': totalAmount,
'replyMarkup': replyMarkup,
};
// Finished toJson.
return returnValue;
}