PaymentResponse.fromJson constructor

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

Implementation

PaymentResponse.fromJson(Map<String, dynamic> json) {
  code = json['code'];
  description = json['description'];
  status = json['status'];
  otpValidationDataResponse = OTPValidationDataResponse.fromJson(json['data']);
}