PaymentEvent.fromJson constructor

PaymentEvent.fromJson(
  1. Map json
)

Implementation

PaymentEvent.fromJson(Map<dynamic, dynamic> json)
    : appId = json['app_id'],
      transactionToken = json['transaction_token'],
      miniappOrderId = json['miniapp_order_id'],
      amount = json['amount'],
      currency = json['currency'],
      status = json['status'],
      hostappOrderId = json['hostapp_order_id'],
      extraParams = json['extra_params'];