toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "MOBILE_NO": mobileNo,
  "TXN_AMOUNT": txnAmount,
  "PRODUCT_DETAILS": productDetails == null ? [] : List<dynamic>.from(productDetails!.map((x) => x)),
};