toBounds method

Bounds toBounds()

Converts this Size to Bounds at the origin.

Implementation

Bounds toBounds() => Bounds.fromSize(this);