RpayFailedResponse.fromMap constructor

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

Implementation

factory RpayFailedResponse.fromMap(Map<String, dynamic> map) {
  return RpayFailedResponse(
    status: map['status'] ?? '',
    desc: map['desc'] ?? '',
    reason: map['reason'] ?? '',
    orderId: map['orderId'] ?? '',
    paymentId: map['paymentId'] ?? '',
  );
}