// GENERATED CODE - DO NOT MODIFY BY HAND part of 'entities.dart'; // ************************************************************************** // Generator: JsonSerializableGenerator // ************************************************************************** BaseListResponse _$BaseListResponseFromJson(Map json) => new BaseListResponse(json['data'] as List); abstract class _$BaseListResponseSerializerMixin { List get data; Map toJson() => {'data': data}; } BaseItemResponse _$BaseItemResponseFromJson(Map json) => new BaseItemResponse(json['data']); abstract class _$BaseItemResponseSerializerMixin { dynamic get data; Map toJson() => {'data': data}; } ProductEntity _$ProductEntityFromJson(Map json) => new ProductEntity(json['id'] as int) ..productKey = json['product_key'] as String ..notes = json['notes'] as String ..cost = (json['cost'] as num)?.toDouble(); abstract class _$ProductEntitySerializerMixin { int get id; String get productKey; String get notes; double get cost; Map toJson() => { 'id': id, 'product_key': productKey, 'notes': notes, 'cost': cost }; }