mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-19 07:50:52 +01:00
21 lines
605 B
Dart
21 lines
605 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'comment.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
Comment _$CommentFromJson(Map<String, dynamic> json) {
|
|
$checkKeys(json, requiredKeys: const ['id', 'comment']);
|
|
return Comment(
|
|
id: json['id'] as int,
|
|
comment: json['comment'] as String,
|
|
);
|
|
}
|
|
|
|
Map<String, dynamic> _$CommentToJson(Comment instance) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'comment': instance.comment,
|
|
};
|