PostgresPoint.parse constructor
PostgresPoint.parse(
- String literal
Parses the (x,y) literal Postgres emits for a point.
Throws a FormatException when literal is not a point.
Implementation
factory PostgresPoint.parse(String literal) =>
_parseGeometry(literal, '^$_pointPattern\$', 'point', _points).single;