From 0a1a7704e93b8ea6e9879c20ae6deb6b41bb3a64 Mon Sep 17 00:00:00 2001 From: Dillon Nys Date: Sat, 9 Mar 2024 08:11:39 -0800 Subject: [PATCH] workaround nullability issue --- packages/corks/lib/src/cork.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/corks/lib/src/cork.dart b/packages/corks/lib/src/cork.dart index 5386e448..a87bdd69 100644 --- a/packages/corks/lib/src/cork.dart +++ b/packages/corks/lib/src/cork.dart @@ -71,7 +71,8 @@ final class Cork { } await signer.sign(id); if (bearer != null) { - if (!await bearer.verify(signer)) { + // TODO(dnys1): https://github.com/dart-lang/sdk/issues/54664 + if (!await bearer!.verify(signer)) { return false; } }