UserSetting.fromJson constructor
Implementation
factory UserSetting.fromJson(Map<String, dynamic> json) => UserSetting(
user: json["user"] ?? 0,
orderUpdateNotification: json["order_update_notification"] ?? false,
promotionNotification: json["promotion_notification"] ?? false,
id: json["id"] ?? 0,
);