Skip to content

Commit 0ce9a00

Browse files
authored
Annotate JsonWebKey as final (#176)
1 parent c73702c commit 0ce9a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/jsonwebkey.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
///
2121
/// [1]: https://www.w3.org/TR/WebCryptoAPI/#JsonWebKey-dictionary
2222
/// [2]: https://www.iana.org/assignments/jose/jose.xhtml#web-key-parameters
23-
class JsonWebKey {
23+
final class JsonWebKey {
2424
String? kty;
2525
String? use;
2626
List<String>? key_ops;
@@ -217,7 +217,7 @@ class JsonWebKey {
217217
///
218218
/// [1]: https://www.w3.org/TR/WebCryptoAPI/#JsonWebKey-dictionary
219219
/// [2]: https://tools.ietf.org/html/rfc7518#section-6.3.2.7
220-
class RsaOtherPrimesInfo {
220+
final class RsaOtherPrimesInfo {
221221
String r;
222222
String d;
223223
String t;

0 commit comments

Comments
 (0)