PaymentPaymobResponse.fromJson constructor
Implementation
factory PaymentPaymobResponse.fromJson(Map<String, dynamic> json) {
return PaymentPaymobResponse(
success: json['success'] == true,
transactionID: json['id'],
message: json['message'],
responseCode: json['txn_response_code'],
);
}