// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'classes.dart';

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

SearchResponse _$SearchResponseFromJson(Map<String, dynamic> json) =>
    SearchResponse(
      json['id'] as int,
      json['key'] as String,
      json['title'] as String,
      json['excerpt'] as String,
      json['description'] as String?,
    );

Map<String, dynamic> _$SearchResponseToJson(SearchResponse instance) =>
    <String, dynamic>{
      'id': instance.id,
      'key': instance.key,
      'title': instance.title,
      'excerpt': instance.excerpt,
      'description': instance.description,
    };

LicenseAttribution _$LicenseAttributionFromJson(Map<String, dynamic> json) =>
    LicenseAttribution(
      json['url'] as String,
      json['title'] as String,
    );

Map<String, dynamic> _$LicenseAttributionToJson(LicenseAttribution instance) =>
    <String, dynamic>{
      'url': instance.url,
      'title': instance.title,
    };

RawPage _$RawPageFromJson(Map<String, dynamic> json) => RawPage(
      json['id'] as int,
      json['key'] as String,
      json['title'] as String,
      RawPage._editedFromJson(json['latest'] as Map<String, dynamic>),
      json['html'] as String,
      LicenseAttribution.fromJson(json['license'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$RawPageToJson(RawPage instance) => <String, dynamic>{
      'id': instance.id,
      'key': instance.key,
      'title': instance.title,
      'latest': RawPage._editedToJson(instance.edited),
      'html': instance.html,
      'license': instance.license,
    };
