customer_notification_preference property

CustomerNotificationPreference get customer_notification_preference

Implementation

CustomerNotificationPreference get customer_notification_preference {
  try {
    if (rawData["customer_notification_preference"] is Map == false) {
      return CustomerNotificationPreference({});
    }
    return CustomerNotificationPreference(
        rawData["customer_notification_preference"] as Map);
  } catch (e) {
    return CustomerNotificationPreference({});
  }
}
set customer_notification_preference (CustomerNotificationPreference value)

Implementation

set customer_notification_preference(CustomerNotificationPreference value) {
  rawData["customer_notification_preference"] = value.toJson();
}