feat:增加博客卡片内容
This commit is contained in:
37
lib/models/blog.g.dart
Normal file
37
lib/models/blog.g.dart
Normal file
@@ -0,0 +1,37 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'blog.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Blog _$BlogFromJson(Map<String, dynamic> json) => Blog(
|
||||
id: (json['id'] as num).toInt(),
|
||||
title: json['title'] as String,
|
||||
topValue: (json['topValue'] as num).toInt(),
|
||||
isGreat: json['isGreat'] as bool,
|
||||
category: json['category'] as String,
|
||||
summary: json['summary'] as String,
|
||||
content: json['content'] as String?,
|
||||
wordCount: (json['wordCount'] as num).toInt(),
|
||||
readDuration: (json['readDuration'] as num).toInt(),
|
||||
visitCount: (json['visitCount'] as num).toInt(),
|
||||
createTime: json['createTime'] as String,
|
||||
updateTime: json['updateTime'] as String,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$BlogToJson(Blog instance) => <String, dynamic>{
|
||||
'id': instance.id,
|
||||
'title': instance.title,
|
||||
'topValue': instance.topValue,
|
||||
'isGreat': instance.isGreat,
|
||||
'category': instance.category,
|
||||
'summary': instance.summary,
|
||||
'content': instance.content,
|
||||
'wordCount': instance.wordCount,
|
||||
'readDuration': instance.readDuration,
|
||||
'visitCount': instance.visitCount,
|
||||
'createTime': instance.createTime,
|
||||
'updateTime': instance.updateTime,
|
||||
};
|
||||
Reference in New Issue
Block a user