mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
830 B
25 lines
830 B
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'booking_summary.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$BookingSummaryImpl _$$BookingSummaryImplFromJson(Map<String, dynamic> json) =>
|
|
_$BookingSummaryImpl(
|
|
id: (json['id'] as num).toInt(),
|
|
name: json['name'] as String,
|
|
startDate: DateTime.parse(json['startDate'] as String),
|
|
endDate: DateTime.parse(json['endDate'] as String),
|
|
);
|
|
|
|
Map<String, dynamic> _$$BookingSummaryImplToJson(
|
|
_$BookingSummaryImpl instance,
|
|
) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'name': instance.name,
|
|
'startDate': instance.startDate.toIso8601String(),
|
|
'endDate': instance.endDate.toIso8601String(),
|
|
};
|