toWKT method Null safety

String toWKT()

Converts the Coordinate to a WKT String. Useless on its own, but useful for other classes.

Implementation

String toWKT() {
  return '$longitude $latitude';
}