-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor HmacSecretKey Class #144
Conversation
part of #105 |
|
||
@override | ||
Future<HmacSecretKeyImpl> importRawKey(List<int> keyData, Hash hash, {int? length}) { | ||
throw UnimplementedError(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we throw throw UnimplementedError('Not implemented');
Or even just make a final _notImplemented = UnimplementedError('Not implemented');
inside impl_stub.dart
, then we can use that in all the stubs.
Perhaps this is a follow up PR :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to throw UnimplementedError('Not implemented');
as is in other files. Missed it here.
Or even just make a final _notImplemented = UnimplementedError('Not implemented'); inside impl_stub.dart, then we can use that in all the stubs.
Will update to this structure in a follow up PR
@HamdaanAliQuatil please rebase this, so we can run tests again, hopefully they'll pass :D |
Co-authored-by: Jonas Finnemann Jensen <[email protected]>
Co-authored-by: Jonas Finnemann Jensen <[email protected]>
224c5aa
to
d16483a
Compare
@jonasfj Done. The tests still didn't pass |
No description provided.