PayResponse.fromJson constructor

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

Implementation

factory PayResponse.fromJson(Map<String, dynamic> json) => PayResponse(
      transaction: Transaction.fromJson(json.getMap('transaction')),
      card: CardResp.fromJson(json.getMap('card')),
    );