isValidPrivateKey method
Weither the key
is a valid Nostr private key or not.
Nostr.instance.keysService.isValidPrivateKey('something that is not a key'); // false
Implementation
@override
bool isValidPrivateKey(String key) {
return NostrKeyPairs.isValidPrivateKey(key);
}