onePoint property
Returns one of points contained by this geometry if it's not empty.
An immutable instance of the geometry class should always return the same point instance. For example a line string could return the first point of a chain.
Implementation
@override
Point? get onePoint => this;