MessageInvoice.fromJson constructor
Parse from a json
Implementation
factory MessageInvoice.fromJson(Map<String, dynamic> json) => MessageInvoice(
title: json['title'],
description: json['description'],
photo: json['photo'] == null ? null : Photo.fromJson(json['photo']),
currency: json['currency'],
totalAmount: json['total_amount'],
startParameter: json['start_parameter'],
isTest: json['is_test'],
needShippingAddress: json['need_shipping_address'],
receiptMessageId: json['receipt_message_id'],
);