toJson method
Implementation
Map<String, dynamic> toJson() => {
"configurations": configurations == null ? [] : List<dynamic>.from(configurations!.map((x) => x.toJson())),
"notification_unread_count": notificationUnreadCount,
"is_subscribed": isSubscribed,
"payment_settings": paymentSettings == null ? [] : List<dynamic>.from(paymentSettings!.map((x) => x.toJson())),
"helpline_number": helplineNumber,
"inquiry_email": inquiryEmail,
"privacy_policy": privacyPolicy?.toJson(),
"term_conditions": termConditions?.toJson(),
"language_option": languageOption == null ? [] : List<dynamic>.from(languageOption!.map((x) => x.toJson())),
"app_download": appDownload?.toJson(),
"is_advanced_payment_allowed": isAdvancedPaymentAllowed,
"enable_user_wallet": enableUserWallet,
"general_settings": generalSettings?.toJson(),
};