getX method

double getX()

Implementation

double getX() => x;