operator == method
Implementation
bool operator ==(other) {
if (other is! Rectangle) return false;
return left == other.left &&
top == other.top &&
width == other.width &&
height == other.height;
}
bool operator ==(other) {
if (other is! Rectangle) return false;
return left == other.left &&
top == other.top &&
width == other.width &&
height == other.height;
}