From de0edf53e47ce995f73ed306d55a3267787d6867 Mon Sep 17 00:00:00 2001 From: ilovelinux Date: Tue, 19 Sep 2023 12:28:26 +0200 Subject: [PATCH] Fix deprecation option --- lib/features/booking/models/booking.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/booking/models/booking.dart b/lib/features/booking/models/booking.dart index f02423a..64b14d9 100644 --- a/lib/features/booking/models/booking.dart +++ b/lib/features/booking/models/booking.dart @@ -105,7 +105,7 @@ class BookingsPerSeats { final TimeOfDay? timeEnd; @JsonKey(defaultValue: []) final BookedSeatList seats; - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false) late final DateTime date; // Not given by api BookingsPerSeats({