// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'notification_detail_model.dart';

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

NotificationDetailModel _$NotificationDetailModelFromJson(
  Map<String, dynamic> json,
) => NotificationDetailModel(
  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?,
  createTime: json['create_time'] as String?,
  seenAt: json['seen_at'] as String?,
  workingSite:
      json['working_site'] == null
          ? null
          : WorkingSiteModel.fromJson(
            json['working_site'] as Map<String, dynamic>,
          ),
);

Map<String, dynamic> _$NotificationDetailModelToJson(
  NotificationDetailModel 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,
  'create_time': instance.createTime,
  'seen_at': instance.seenAt,
  'working_site': instance.workingSite,
};

NotificationDetailResponseModel _$NotificationDetailResponseModelFromJson(
  Map<String, dynamic> json,
) => NotificationDetailResponseModel(
  notification:
      json['notification'] == null
          ? null
          : NotificationDetailModel.fromJson(
            json['notification'] as Map<String, dynamic>,
          ),
);

Map<String, dynamic> _$NotificationDetailResponseModelToJson(
  NotificationDetailResponseModel instance,
) => <String, dynamic>{'notification': instance.notification};
