IEdfaPgResult.fromJson constructor

IEdfaPgResult.fromJson(
  1. dynamic json
)

Implementation

IEdfaPgResult.fromJson(dynamic json) {
  action = EdfaPgAction.of(json['action'].toString());
  result = EdfaPgResult.of(json['result'].toString());
  status = EdfaPgStatus.of(json['status'].toString());
  orderId = json['order_id'];
  transactionId = json['trans_id'];
}