InternalLinkTypeInvoice.fromJson constructor

InternalLinkTypeInvoice.fromJson(
  1. Map<String, dynamic> json
)

Parses a InternalLinkTypeInvoice from TDLib JSON.

Implementation

factory InternalLinkTypeInvoice.fromJson(Map<String, dynamic> json) =>
    InternalLinkTypeInvoice(
      invoiceName: _readString(json['invoice_name']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );