forked from eatvio/eatvio_app
28 lines
965 B
Dart
28 lines
965 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'chosen_plan_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$ChosenPlanModelImpl _$$ChosenPlanModelImplFromJson(
|
|
Map<String, dynamic> json) =>
|
|
_$ChosenPlanModelImpl(
|
|
id: (json['id'] as num).toInt(),
|
|
optionType: json['option_type'] as String,
|
|
startDate: DateTime.parse(json['start_date'] as String),
|
|
chatId: json['chat_id'] as String,
|
|
plan: PlanModel.fromJson(json['plan'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$$ChosenPlanModelImplToJson(
|
|
_$ChosenPlanModelImpl instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'option_type': instance.optionType,
|
|
'start_date': instance.startDate.toIso8601String(),
|
|
'chat_id': instance.chatId,
|
|
'plan': instance.plan,
|
|
};
|