Skip to content

Commit e6beb7d

Browse files
committed
Changed bookedFor for nullable value
1 parent d7f0a45 commit e6beb7d

5 files changed

Lines changed: 24 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 3.4.54
4+
5+
- Changed `bookedFor` for nullable in `AtsOperationHistory`
6+
37
## 3.4.53
48

59
- Added new values `LOADING_BOOKED` and `UNLOADING_BOOKED` in `AtsPurchaseOrderStatus`

lib/src/ats/ats.freezed.dart

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/ats/ats.g.dart

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/ats/src/operations/operation.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class AtsOperationHistory with _$AtsOperationHistory {
1616
String? assetId,
1717

1818
/// [bookedFor] is the date booked for the status change.
19-
@TimestampConverter() required DateTime bookedFor,
19+
@TimestampOrNullConverter() DateTime? bookedFor,
2020
}) = _AtsOperationHistory;
2121

2222
factory AtsOperationHistory.fromJson(Map<String, dynamic> json) => _$AtsOperationHistoryFromJson(json);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description: Layrz API models for Dart/Flutter. This package contains the models used by the Layrz API.
22
name: layrz_models
3-
version: "3.4.53"
3+
version: "3.4.54"
44
repository: https://github.com/goldenm-software/layrz_models
55

66
environment:

0 commit comments

Comments
 (0)