Skip to content

Commit a10d85c

Browse files
committed
feat: Added hasWorldwideCoverage to Device and Added hasGpsInsurance to User
1 parent ce49fa6 commit a10d85c

10 files changed

Lines changed: 67 additions & 43 deletions

.flutter-plugins-dependencies

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

.fvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"flutter": "3.38.9",
2+
"flutter": "3.41.4",
33
"flavors": {}
44
}

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.6.20
4+
- Added `hasWorldwideCoverage` to `Device` model to represent if the device has worldwide coverage, for the BHS use case, this field is used to identify if the device has GPS insurance.
5+
- Added `hasGpsInsurance` to `User` model to represent if the user has GPS insurance, for the BHS use case.
6+
37
## 3.6.19
48

59
-Added new value `modal` in `AtsIdeInformation`

lib/layrz_models.freezed.dart

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

lib/layrz_models.g.dart

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

lib/src/device.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ abstract class Device with _$Device {
8383

8484
/// [localIpAddress] is the local IP address of the device, used for local communication.
8585
String? localIpAddress,
86+
87+
/// [hasWorldwideCoverage] represents if the device has worldwide coverag For the BHS use case, this field is used to identify if the device has GPS insurance.
88+
bool? hasWorldwideCoverage,
8689
}) = _Device;
8790

8891
factory Device.fromJson(Map<String, dynamic> json) => _$DeviceFromJson(json);

lib/src/users/src/user.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ abstract class User with _$User {
150150

151151
/// [passkeys] is the list of passkeys registered for the user.
152152
@Default([]) List<Passkey> passkeys,
153+
154+
/// [hasGpsInsurance] represents if the user has GPS insurance, for the BHS use case.
155+
bool? hasGpsInsurance,
153156
}) = _User;
154157

155158
factory User.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);

lib/src/users/users.freezed.dart

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

lib/src/users/users.g.dart

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

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.6.19"
3+
version: "3.6.20"
44
repository: https://github.com/goldenm-software/layrz_models
55

66
environment:

0 commit comments

Comments
 (0)