22 lines
745 B
Dart
22 lines
745 B
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'budget.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
Budget _$BudgetFromJson(Map<String, dynamic> json) => Budget(
|
||
|
id: json['id'] as int?,
|
||
|
name: json['name'] as String,
|
||
|
createdAt: dateFromJson(json['created_at'] as int),
|
||
|
updatedAt: dateFromJson(json['updated_at'] as int),
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$BudgetToJson(Budget instance) => <String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'name': instance.name,
|
||
|
'created_at': dateToJson(instance.createdAt),
|
||
|
'updated_at': dateToJson(instance.updatedAt),
|
||
|
};
|