NotificationsPref.fromJson constructor
NotificationsPref.fromJson(
- Map<String, dynamic> json
)
Implementation
factory NotificationsPref.fromJson(Map<String, dynamic> json) =>
NotificationsPref(
mainSwitchEnabled: json["mainSwitchEnabled"],
allBillingAlerts: json["all_billing_alerts"],
lowBalanceAlert: DemoCallBooking.fromJson(json["low_balance_alert"]),
tryonCreditsExhausted:
DemoCallBooking.fromJson(json["tryonCredits_exhausted"]),
tryonUsedAlert: DemoCallBooking.fromJson(json["tryon_used_alert"]),
minutesUsedAlert: DemoCallBooking.fromJson(json["minutes_used_alert"]),
subscriptionPurchaseUser:
DemoCallBooking.fromJson(json["subscription_purchase_user"]),
subscriptionRenewalAlert:
DemoCallBooking.fromJson(json["subscription_renewal_alert"]),
subscriptionExpiredAlert:
DemoCallBooking.fromJson(json["subscription_expired_alert"]),
subscriptionCancel:
DemoCallBooking.fromJson(json["subscription_cancel"]),
usersAlert: DemoCallBooking.fromJson(json["users_alert"]),
demoCallBooking: DemoCallBooking.fromJson(json["demo_call_booking"]),
demoCallBookingOwner:
DemoCallBooking.fromJson(json["demo_call_booking_owner"]),
meetEndAlert: DemoCallBooking.fromJson(json["meet_end_alert"]),
monthlyAnalysis: DemoCallBooking.fromJson(json["monthly_analysis"]),
weeklyDigest: DemoCallBooking.fromJson(json["weekly_digest"]),
feedbackAlert: DemoCallBooking.fromJson(json["feedback_alert"]),
);