getX method
Implementation
double getX() {
if (getCoordinate() == null) {
throw new StateError("getX called on empty Point");
}
return getCoordinate()!.x;
}
double getX() {
if (getCoordinate() == null) {
throw new StateError("getX called on empty Point");
}
return getCoordinate()!.x;
}