toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "payment_url": paymentUrl == null ? null : paymentUrl,
      "card_options": cardOptions == null ? null : cardOptions?.toJson(),
      "emi_options": emiOptions == null ? null : emiOptions?.toJson(),
      "netbanking_options":
          netbankingOptions == null ? null : netbankingOptions?.toJson(),
      "wallet_options":
          walletOptions == null ? null : walletOptions?.toJson(),
      "upi_options": upiOptions == null ? null : upiOptions?.toJson(),
    };