From d207ed41175d3e6616e7c6b6944516bd3b388e1e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Feb 2026 05:00:29 +0000 Subject: [PATCH 1/2] chore(deps): bump lints from 6.0.0 to 6.1.0 Bumps [lints](https://github.com/dart-lang/core/tree/main/pkgs) from 6.0.0 to 6.1.0. - [Release notes](https://github.com/dart-lang/core/releases) - [Commits](https://github.com/dart-lang/core/commits/lints-v6.1.0/pkgs) --- updated-dependencies: - dependency-name: lints dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pubspec.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index c3e1a65..2ce49d6 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -237,10 +237,10 @@ packages: dependency: "direct dev" description: name: lints - sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0 + sha256: "12f842a479589fea194fe5c5a3095abc7be0c1f2ddfa9a0e76aed1dbd26a87df" url: "https://pub.dev" source: hosted - version: "6.0.0" + version: "6.1.0" logging: dependency: transitive description: From 17ee9964e379ea9de72aff3cc84acb6c28ae4ebe Mon Sep 17 00:00:00 2001 From: Kai Koenig Date: Mon, 2 Feb 2026 08:44:03 +1300 Subject: [PATCH 2/2] style: use null-aware elements in deployments payload --- lib/src/deployments/deployments_api.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/src/deployments/deployments_api.dart b/lib/src/deployments/deployments_api.dart index 49827fa..831faa9 100644 --- a/lib/src/deployments/deployments_api.dart +++ b/lib/src/deployments/deployments_api.dart @@ -27,11 +27,11 @@ class DeploymentsApi { final payload = { 'version': version, - if (ownerName != null) 'ownerName': ownerName, - if (emailAddress != null) 'emailAddress': emailAddress, - if (comment != null) 'comment': comment, - if (scmIdentifier != null) 'scmIdentifier': scmIdentifier, - if (scmType != null) 'scmType': scmType, + 'ownerName': ?ownerName, + 'emailAddress': ?emailAddress, + 'comment': ?comment, + 'scmIdentifier': ?scmIdentifier, + 'scmType': ?scmType, 'deployedAt': DateTime.now().toUtc().toIso8601String(), };