24 lines
756 B
Dart
24 lines
756 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'item.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
Item _$ItemFromJson(Map<String, dynamic> json) => Item(
|
|
title: json['title'] as String,
|
|
id: json['id'] as int,
|
|
description: json['description'] as String?,
|
|
price: json['price'] as int?,
|
|
quantity: json['quantity'] as int?,
|
|
);
|
|
|
|
Map<String, dynamic> _$ItemToJson(Item instance) => <String, dynamic>{
|
|
'title': instance.title,
|
|
'description': instance.description,
|
|
'price': instance.price,
|
|
'id': instance.id,
|
|
'quantity': instance.quantity,
|
|
};
|