Open jonasfj opened 6 months ago
Hello! I would like to work in this issue.
Assigned to you.
This is mostly a bit of refactoring and making sure the public API is pretty, while also making sure people accessing it can't implement
our classes :D
Might I suggest trying it out on something simple like HmacSecretKey
, making a WIP (draft) PR, so that we can decide if we like that pattern before we apply the same pattern consistently across all public classes.
side note. we'll probably also need to bump the version number and write an entry in CHANGELOG.md
.
We should use
final class
for everything in the public API.Motiviation:
In practice, we might have to do something that we export from
src/webcrypto/webcrypto.dart
and something we only export to other libraries inside this package.