RpaySuccessResponse.fromMap constructor

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

Implementation

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