Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.6.28

- Added `description` field to `Locator` and `LocatorInput` models.
- Updated `Locator` GraphQL fragment to include `description`.

## 3.6.27

- Added `LocatorBoundary` and `LocatorBoundaryPoint` models (freezed + unfreezed variants) for representing the geographic bounding box of a locator.
Expand Down
83 changes: 47 additions & 36 deletions lib/src/locator/locator.freezed.dart

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions lib/src/locator/locator.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/src/locator/src/locator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ abstract class Locator with _$Locator {

/// [boundary] is the geographic bounding box of the locator
LocatorBoundary? boundary,

/// [description] is the description of the locator
String? description,
}) = _Locator;

factory Locator.fromJson(Map<String, dynamic> json) => _$LocatorFromJson(json);
Expand Down Expand Up @@ -462,6 +465,7 @@ abstract class Locator with _$Locator {
longitude
}
}
description

isExpired

Expand Down
3 changes: 3 additions & 0 deletions lib/src/locator/src/locator_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ abstract class LocatorInput with _$LocatorInput {

/// [boundary] is the geographic bounding box of the locator
LocatorBoundaryInput? boundary,

/// [description] is the description of the locator
String? description,
}) = _LocatorInput;

factory LocatorInput.fromJson(Map<String, dynamic> json) => _$LocatorInputFromJson(json);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: Layrz API models for Dart/Flutter. This package contains the models used by the Layrz API.
name: layrz_models
version: "3.6.27"
version: "3.6.28"
repository: https://github.com/goldenm-software/layrz_models

environment:
Expand Down
Loading