center property

  1. @override
Point get center
override

Get the center Point of the Point. Pretty useless, but needs to overwrite the Feature method.

Example:

Point(Coordinate(1, 2)).centroid(); // Point(1, 2)

Implementation

@override
Point get center {
  return this;
}