1. override
bool operator ==(other)

Compares two Sizes for equality.

Source

@override
bool operator ==(dynamic other) => other is Size && super == other;