prasule/lib/api/entry_data.g.dart

20 lines
672 B
Dart
Raw Permalink Normal View History

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'entry_data.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
EntryData _$EntryDataFromJson(Map<String, dynamic> json) => EntryData(
name: json['name'] as String,
amount: (json['amount'] as num).toDouble(),
description: json['description'] as String? ?? "",
);
Map<String, dynamic> _$EntryDataToJson(EntryData instance) => <String, dynamic>{
'name': instance.name,
'description': instance.description,
'amount': instance.amount,
};