forked from eatvio/eatvio_app
feat(notifications): support payment-required and start-date-set types (#3054)
This commit is contained in:
@@ -63,6 +63,8 @@ void main() {
|
||||
ScoreAdded.fromJson(scoreLike, NotificationType.scoreAdded);
|
||||
ScoreSubstractedNotification.fromJson(scoreLike, NotificationType.scoreSubstracted);
|
||||
EntityCommented.fromJson(entityCommented, NotificationType.entityCommented);
|
||||
ClientPlanPaymentRequiredNotification.fromJson(base, NotificationType.clientPlanPaymentRequired);
|
||||
ConsultantPlanStartDateSetNotification.fromJson(base, NotificationType.consultantPlanStartDateSet);
|
||||
UnknownNotification.fromJson(base, NotificationType.unknown);
|
||||
|
||||
ConsultantConfirmPlanSubscriptionToSubscriberNotification.fromJson(
|
||||
|
||||
@@ -50,6 +50,8 @@ void main() {
|
||||
'stay-on-track-to-customer': NotificationType.stayOnTrackToCustomer,
|
||||
'diary-reminder-for-users': NotificationType.diaryReminderForUsers,
|
||||
'personal-diet-is-defined-to-customer': NotificationType.personalDietIsDefinedToCustomer,
|
||||
'client-plan-payment-required': NotificationType.clientPlanPaymentRequired,
|
||||
'consultant-plan-start-date-set': NotificationType.consultantPlanStartDateSet,
|
||||
};
|
||||
|
||||
cases.forEach((key, expected) {
|
||||
|
||||
Reference in New Issue
Block a user