Skip to content

Commit b461cb8

Browse files
committed
Update adittionalFields to be able to be null
1 parent 1f55fda commit b461cb8

6 files changed

Lines changed: 26 additions & 20 deletions

File tree

.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

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.83
4+
5+
- change `additionalFields` of `ExternalUnit` to have the posibility of be null
6+
37
## 3.4.82
48

59
- Added accessibility and preferences to `Employee`

lib/src/external/external.freezed.dart

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

lib/src/external/external.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/external/src/unit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ abstract class ExternalUnit with _$ExternalUnit {
66
String? externalId,
77
required String name,
88
required String ident,
9-
required Map<String, dynamic> additionalFields,
9+
Map<String, dynamic>? additionalFields,
1010
}) = _ExternalUnit;
1111

1212
factory ExternalUnit.fromJson(Map<String, dynamic> json) => _$ExternalUnitFromJson(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.82"
3+
version: "3.4.83"
44
repository: https://github.com/goldenm-software/layrz_models
55

66
environment:

0 commit comments

Comments
 (0)