operator == method

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

Compares two Sui addresses for equality based on their string representation.

Implementation

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