// GENERATED CODE - DO NOT MODIFY BY HAND

part of '../../../../data/remote/models/property_intro.dart';

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

PropertyIntro _$PropertyIntroFromJson(Map json) => PropertyIntro(
  id: (json['id'] as num).toInt(),
  title: json['title'] as String,
  description: json['description'] as String,
  theme: json['theme'] as String,
  heroImage: MediaImage.fromJson(
    Map<String, dynamic>.from(json['hero_image'] as Map),
  ),
);

Map<String, dynamic> _$PropertyIntroToJson(PropertyIntro instance) =>
    <String, dynamic>{
      'id': instance.id,
      'title': instance.title,
      'description': instance.description,
      'theme': instance.theme,
      'hero_image': instance.heroImage.toJson(),
    };