operator == method
- @override
override
Compares two Sizes for equality.
Implementation
// We don't compare the runtimeType because of _DebugSize in the framework.
@override
bool operator ==(dynamic other) {
return other is Size
&& other._dx == _dx
&& other._dy == _dy;
}