class PaymentCredentialModel { PaymentCredentialModel({ required this.shurjopayserverUrl, required this.merchantuserName, required this.merchantPassword, required this.merchantkeyPrefix, }); PaymentCredentialModel.fromJson(dynamic json) { shurjopayserverUrl = json['SHURJOPAY_SERVER_URL']; merchantuserName = json['MERCHANT_USERNAME']; merchantPassword = json['MERCHANT_PASSWORD']; merchantkeyPrefix = json['MERCHANT_KEY_PREFIX']; } late String shurjopayserverUrl; late String merchantuserName; late String merchantPassword; late String merchantkeyPrefix; Map toJson() { final map = {}; map['SHURJOPAY_SERVER_URL'] = shurjopayserverUrl; map['MERCHANT_USERNAME'] = merchantuserName; map['MERCHANT_PASSWORD'] = merchantPassword; map['MERCHANT_KEY_PREFIX'] = merchantkeyPrefix; return map; } }