Files
eatvio_app/lib/features/notifications/models/notification_model.g.dart
2025-04-24 04:20:24 +07:00

29 lines
1.0 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'notification_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_$NotificationModelImpl _$$NotificationModelImplFromJson(
Map<String, dynamic> json) =>
_$NotificationModelImpl(
type: $enumDecode(_$NotificationTypeEnumMap, json['type']),
);
Map<String, dynamic> _$$NotificationModelImplToJson(
_$NotificationModelImpl instance) =>
<String, dynamic>{
'type': _$NotificationTypeEnumMap[instance.type]!,
};
const _$NotificationTypeEnumMap = {
NotificationType.userSubscribedNotification:
'App\\Notifications\\UserSubscribedNotification',
NotificationType.planSubscriptionStartedToAuthor:
'App\\Notifications\\Plan\\PlanSubscriptionStartedToAuthor',
NotificationType.planSubscriptionCanceledToAuthor:
'App\\Notifications\\Plan\\PlanSubscriptionCanceledToAuthor',
};