23 lines
794 B
Dart
23 lines
794 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'family_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
FamilyModel _$FamilyModelFromJson(Map<String, dynamic> json) => FamilyModel(
|
|
id: json['id'] as int,
|
|
budgetId: json['budget_id'] as int,
|
|
createdAt: dateFromJson(json['created_at'] as int),
|
|
updatedAt: dateFromJson(json['updated_at'] as int),
|
|
);
|
|
|
|
Map<String, dynamic> _$FamilyModelToJson(FamilyModel instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'budget_id': instance.budgetId,
|
|
'created_at': dateToJson(instance.createdAt),
|
|
'updated_at': dateToJson(instance.updatedAt),
|
|
};
|