getRight method

double getRight()

Returns the right coordinate of the rectangle.

Implementation

double getRight() => _rect.right;