operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Checks equality based on the public key.

Implementation

@override
operator ==(other) {
  if (identical(this, other)) return true;
  if (other is! SuiSecp256k1PublicKey) return false;
  return publicKey == other.publicKey;
}