equals method
Checks if this public key is equal to another
Implementation
@override
Future<bool> equals(PublicKey other) async {
if (other is! Ed25519PublicKey) return false;
// Compare the raw bytes of the keys
final thisBytes = raw;
final otherBytes = other.raw;
if (thisBytes.length != otherBytes.length) return false;
for (var i = 0; i < thisBytes.length; i++) {
if (thisBytes[i] != otherBytes[i]) return false;
}
return true;
}