getY method

double getY()

Implementation

double getY() => y;