forked from eatvio/eatvio_app
36 lines
1.4 KiB
Dart
36 lines
1.4 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'blog_post_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$BlogPostModelImpl _$$BlogPostModelImplFromJson(Map<String, dynamic> json) =>
|
|
_$BlogPostModelImpl(
|
|
id: (json['id'] as num).toInt(),
|
|
state: json['state'] as String,
|
|
image: json['image'] as String?,
|
|
description: json['description'] as String,
|
|
author_name: json['author_name'] as String?,
|
|
author_avatar_path: json['author_avatar_path'] as String?,
|
|
youtubeUrl: json['youtube_url'] as String,
|
|
createdAt: DateTime.parse(json['created_at'] as String),
|
|
updatedAt: DateTime.parse(json['updated_at'] as String),
|
|
title: json['title'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$$BlogPostModelImplToJson(_$BlogPostModelImpl instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'state': instance.state,
|
|
'image': instance.image,
|
|
'description': instance.description,
|
|
'author_name': instance.author_name,
|
|
'author_avatar_path': instance.author_avatar_path,
|
|
'youtube_url': instance.youtubeUrl,
|
|
'created_at': instance.createdAt.toIso8601String(),
|
|
'updated_at': instance.updatedAt.toIso8601String(),
|
|
'title': instance.title,
|
|
};
|