operator < method

bool operator <(
  1. Size other
)

Implementation

bool operator <(Size other) => width < other.width && height < other.height;