PaymentForm.fromJson constructor
Parses a PaymentForm from TDLib JSON.
Implementation
factory PaymentForm.fromJson(Map<String, dynamic> json) => PaymentForm(
id: _readInt(json['id']),
type: _readObject(json['type'], PaymentFormType.fromJson),
sellerBotUserId: _readInt(json['seller_bot_user_id']),
productInfo: _readObject(json['product_info'], ProductInfo.fromJson),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);