operator == method
Two pointers are equal if their address is the same, independently of their type argument and of the memory they are bound to.
Implementation
@override
bool operator ==(Object other) =>
(other is Pointer && other.address == address);