toJson method
Implementation
Map<String, dynamic> toJson() => {
"subscription_no": subscriptionNo,
"bank_name": bankName,
"bank_name_kh": bankNameKh,
"status": status,
"total_consumer": totalConsumer,
"subscription_date": subscriptionDate,
//"redirect_url": redirectUrl.toJson(),
"redirect_url": redirectUrl,
"bank_subscription_methods":
List<dynamic>.from(bankSubscriptionMethods.map((x) => x.toJson())),
};