// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'expiring_license.dart';

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

_$ExpiringLicenseImpl _$$ExpiringLicenseImplFromJson(
        Map<String, dynamic> json) =>
    _$ExpiringLicenseImpl(
      id: (json['id'] as num).toInt(),
      licenseKey: json['license_key'] as String,
      softwareName: json['software_name'] as String,
      companyName: json['company_name'] as String,
      expiryDate: DateTime.parse(json['expiry_date'] as String),
      daysUntilExpiry: (json['days_until_expiry'] as num).toInt(),
      renewalCost: (json['renewal_cost'] as num).toDouble(),
      autoRenew: json['auto_renew'] as bool,
    );

Map<String, dynamic> _$$ExpiringLicenseImplToJson(
        _$ExpiringLicenseImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'license_key': instance.licenseKey,
      'software_name': instance.softwareName,
      'company_name': instance.companyName,
      'expiry_date': instance.expiryDate.toIso8601String(),
      'days_until_expiry': instance.daysUntilExpiry,
      'renewal_cost': instance.renewalCost,
      'auto_renew': instance.autoRenew,
    };
