StarTransactionTypeBotInvoicePurchase.fromJson constructor
Parses a StarTransactionTypeBotInvoicePurchase from TDLib JSON.
Implementation
factory StarTransactionTypeBotInvoicePurchase.fromJson(
Map<String, dynamic> json,
) => StarTransactionTypeBotInvoicePurchase(
userId: _readInt(json['user_id']),
productInfo: _readObject(json['product_info'], ProductInfo.fromJson),
);