GetPaymentForm.fromMap constructor

GetPaymentForm.fromMap(
  1. Map<String, dynamic> map
)

Implementation

GetPaymentForm.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  if (map['input_invoice'] != null) {
    input_invoice = TdApiMap.fromMap(map['input_invoice']) as InputInvoice;
  }
  if (map['theme'] != null) {
    theme = TdApiMap.fromMap(map['theme']) as ThemeParameters;
  }
}