swapRatio method

AspectRatioValue swapRatio()

Swap width and height such that the ratio will formed as portrait if origin width is bigger than height and landscape if vice versa.

Implementation

AspectRatioValue swapRatio() => AspectRatioValue._(height, width);