equals method
Checks if this private key is equal to another
Implementation
@override
Future<bool> equals(PrivateKey other) async {
if (other is! Ed25519PrivateKey) return false;
// Try to compare the raw bytes if available
try {
final thisBytes = raw;
final otherBytes = other.raw;
return _bytesEqual(thisBytes, otherBytes);
} catch (e) {
// Fall back to comparing public keys
return publicKey.equals(other.publicKey);
}
}