指针的相等性仅依赖于它们的地址。
bool operator ==(Object other) { if (other is! Pointer) return false; Pointer otherPointer = other; return address == otherPointer.address; }