24 lines
864 B
Dart
24 lines
864 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),
|
|
hide: json['hide'] == null ? false : boolFromJson(json['hide'] as int),
|
|
);
|
|
|
|
Map<String, dynamic> _$BudgetToJson(Budget instance) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'name': instance.name,
|
|
'hide': boolToJson(instance.hide),
|
|
'created_at': dateToJson(instance.createdAt),
|
|
'updated_at': dateToJson(instance.updatedAt),
|
|
};
|