// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'notification_item_model.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

NotificationItemModel _$NotificationItemModelFromJson(
  Map<String, dynamic> json,
) => NotificationItemModel(
  notificationId: json['notification_id'] as String?,
  title: json['title'] as String?,
  body: json['body'] as String?,
  type: json['type'] as String?,
  clickActionType: json['click_action_type'] as String?,
  clickActionParam: json['click_action_param'] as String?,
  seenAt: json['seen_at'] as String?,
  status: json['status'] as String?,
  createTime: json['create_time'] as String?,
  workingSite:
      json['working_site'] == null
          ? null
          : WorkingSiteModel.fromJson(
            json['working_site'] as Map<String, dynamic>,
          ),
);

Map<String, dynamic> _$NotificationItemModelToJson(
  NotificationItemModel instance,
) => <String, dynamic>{
  'notification_id': instance.notificationId,
  'title': instance.title,
  'body': instance.body,
  'type': instance.type,
  'click_action_type': instance.clickActionType,
  'click_action_param': instance.clickActionParam,
  'seen_at': instance.seenAt,
  'status': instance.status,
  'create_time': instance.createTime,
  'working_site': instance.workingSite,
};
