24 lines
812 B
Dart
24 lines
812 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'comment.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
Comment _$CommentFromJson(Map<String, dynamic> json) => Comment(
|
|
id: json['id'] as String,
|
|
postId: json['postId'] as String,
|
|
content: json['content'] as String,
|
|
authorName: json['authorName'] as String,
|
|
authorImageUrl: json['authorImageUrl'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$CommentToJson(Comment instance) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'postId': instance.postId,
|
|
'content': instance.content,
|
|
'authorName': instance.authorName,
|
|
'authorImageUrl': instance.authorImageUrl,
|
|
};
|