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