operator == method - Pointer class - dart:ffi library (original) (raw)
bool operator ==(
- Object other )
override
Equality for Pointers only depends on their address.
Implementation
bool operator ==(Object other) {
if (other is! Pointer) return false;
Pointer otherPointer = other;
return address == otherPointer.address;
}