KhaltiProduct constructor
KhaltiProduct({})
Implementation
KhaltiProduct({
// The id of the product
required this.id,
/// The name of the product
required this.name,
/// The amount of the product in paisa
required this.amount,
/// If specified, the configuration from the `config` is ignored but not overridden
this.paymentPreferences,
/// The url of the product
this.url = "",
/// Custom data attached to the payment
this.customData = const {},
});