getY method

double getY()

Implementation

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