21 lines
691 B
Dart
21 lines
691 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'stocks_dto.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
StocksDto _$StocksDtoFromJson(Map<String, dynamic> json) => StocksDto(
|
|
foods: (json['stocks'] as List<dynamic>?)
|
|
?.map((e) => StockDataDto.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
|
|
StockDataDto _$StockDataDtoFromJson(Map<String, dynamic> json) => StockDataDto(
|
|
fdcId: (json['fdcId'] as num?)?.toInt(),
|
|
name: json['name'] as String?,
|
|
price: json['price'] as double?,
|
|
image: json['image'] as String?,
|
|
);
|