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; } }