rluv_client/lib/models/family_model.g.dart

25 lines
913 B
Dart
Raw Normal View History

2023-07-19 02:16:13 -06:00
// 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),
2023-07-22 21:29:32 -06:00
hide: json['hide'] == null ? false : boolFromJson(json['hide'] as int),
2023-07-19 02:16:13 -06:00
);
Map<String, dynamic> _$FamilyModelToJson(FamilyModel instance) =>
<String, dynamic>{
'id': instance.id,
'budget_id': instance.budgetId,
2023-07-22 21:29:32 -06:00
'hide': boolToJson(instance.hide),
2023-07-19 02:16:13 -06:00
'created_at': dateToJson(instance.createdAt),
'updated_at': dateToJson(instance.updatedAt),
};