PaymentCheckoutResponseModel.fromJson constructor
Implementation
factory PaymentCheckoutResponseModel.fromJson(Map<String, dynamic> map) {
return PaymentCheckoutResponseModel(
message: map['message'] != null ? map['message'] as String : null,
otpCode: map['otpCode'] != null ? map['otpCode'] as String : null,
externalTransactionId: map['externalTransactionId'] != null
? map['externalTransactionId'] as String
: null,
);
}