29 lines
1 KiB
Dart
29 lines
1 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'project.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$ProjectImpl _$$ProjectImplFromJson(Map<String, dynamic> json) =>
|
|
_$ProjectImpl(
|
|
id: (json['id'] as num).toInt(),
|
|
name: json['name'] as String,
|
|
colorValue: (json['colorValue'] as num).toInt(),
|
|
description: json['description'] as String?,
|
|
archivedAt: json['archivedAt'] == null
|
|
? null
|
|
: DateTime.parse(json['archivedAt'] as String),
|
|
createdAt: DateTime.parse(json['createdAt'] as String),
|
|
);
|
|
|
|
Map<String, dynamic> _$$ProjectImplToJson(_$ProjectImpl instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'name': instance.name,
|
|
'colorValue': instance.colorValue,
|
|
'description': instance.description,
|
|
'archivedAt': instance.archivedAt?.toIso8601String(),
|
|
'createdAt': instance.createdAt.toIso8601String(),
|
|
};
|